Krakoa Wiki krakoawiki https://krakoa.miraheze.org/wiki/Main_Page MediaWiki 1.41.0 first-letter Media Special Talk User User talk Krakoa Wiki Krakoa Wiki talk File File talk MediaWiki MediaWiki talk Template Template talk Help Help talk Category Category talk Module Module talk Main Page 0 1 1 2024-04-11T22:09:57Z MediaWiki default 1 Welcome to Miraheze! wikitext text/x-wiki __NOTOC__ == Welcome to {{SITENAME}}! == This Main Page was created automatically and it seems it hasn't been replaced yet. === For the bureaucrat(s) of this wiki === Hello, and welcome to your new wiki! Thank you for choosing Miraheze for the hosting of your wiki, we hope you will enjoy our hosting. You can immediately start working on your wiki or whenever you want. Need help? No problem! We will help you with your wiki as needed. To start, try checking out these helpful links: * [[mw:Special:MyLanguage/Help:Contents|MediaWiki guide]] (e.g. navigation, editing, deleting pages, blocking users) * [[meta:Special:MyLanguage/FAQ|Miraheze FAQ]] * [[meta:Special:MyLanguage/Request features|Request settings changes on your wiki]]. (Extensions, Skin and Logo/Favicon changes should be done through [[Special:ManageWiki]] on your wiki, see [[meta:Special:MyLanguage/ManageWiki|ManageWiki]] for more information.) ==== I still don't understand X! ==== Well, that's no problem. Even if something isn't explained in the documentation/FAQ, we are still happy to help you. You can find us here: * [[meta:Special:MyLanguage/Help center|On our own Miraheze wiki]] * On [[phorge:|Phorge]] * On [https://miraheze.org/discord Discord] * On IRC in #miraheze on irc.libera.chat ([irc://irc.libera.chat/%23miraheze direct link]; [https://web.libera.chat/?channel=#miraheze webchat]) === For visitors of this wiki === Hello, the default Main Page of this wiki (this page) has not yet been replaced by the bureaucrat(s) of this wiki. The bureaucrat(s) might still be working on a Main Page, so please check again later! 070d9e6457eab136df99905438a1f57c037772b0 Krakoa 0 2 2 2024-04-11T22:24:56Z Heatyeet 2 Created page with "{{Infobox country |conventional_long_name = Republic of Krakoa |native_name = {{lang|fr|Yap'an tunjet Krycoa}} |common_name = Krakoa |image_flag = |alt_flag = Dark blue, yellow, and maroon stripes placed horizontally in descending order. |image_coat = |symbol_type = Coat of Arms |image_map = | map_caption = Location of Krakoa |alt_map = Location of Krakoa in the North Pacific. |national_motto = <br/>"La'taii Tjet Revstakjaske Mut'antska" (Krakoan)<br/>{{small|"Liberatio..." wikitext text/x-wiki {{Infobox country |conventional_long_name = Republic of Krakoa |native_name = {{lang|fr|Yap'an tunjet Krycoa}} |common_name = Krakoa |image_flag = |alt_flag = Dark blue, yellow, and maroon stripes placed horizontally in descending order. |image_coat = |symbol_type = Coat of Arms |image_map = | map_caption = Location of Krakoa |alt_map = Location of Krakoa in the North Pacific. |national_motto = <br/>"La'taii Tjet Revstakjaske Mut'antska" (Krakoan)<br/>{{small|"Liberation for all of Mutantkind"}} |national_anthem = <br/>"Ojetna'ska Revyatet" (Krakoan) <br/>{{small|"Come Independence, We Shall Rejoice"}} |official_languages = {{hlist |Krakoan |[[English language|English]] |[[French language|French]] |[[Portuguese language|Portuguese]] |Antoran }} |demonym = Krakoan |ethnic_groups = {{unbulleted list | {{nowrap|60% Krakoan Mutants}} | 31% Yap'ai | 9% Non-Krakoan }} |capital = Onkardo |largest_city = Arssoum |government_type = [[Parliamentary republic]] |leader_title1 = [[Prime Minister]] |leader_name1 = Wallis Neta'yai |leader_title2 = President of the Quiet Council |leader_name2 = Rejat'ou Nulo |legislature = Quiet Council of Krakoa |area_rank = 54th <!--Demographic Yearbook 1.--> |area_km2 = 475,442 |area_sq_mi = 183,568 <!--Do not remove per [[WP:MOSNUM]]--> |percent_water = 1.3 <!--CIA World Factbook--> |population_estimate = 20,129,878 |population_estimate_rank = 58th <!--UN World Population Prospects--> |population_estimate_year = July 2012 |population_census = 17,463,836 |population_census_year = 2005 |population_density_km2 = 39.7 |population_density_sq_mi = 102.8 <!--Do not remove per [[WP:MOSNUM]]--> |population_density_rank = 167th <!--UN World Population Prospects--> |GDP_PPP = $47.251&nbsp;billion |GDP_PPP_year = 2011 |GDP_PPP_per_capita = $2,257 |GDP_PPP_per_capita_rank = |GDP_nominal = $25.759&nbsp;billion |GDP_nominal_year = 2011 |GDP_nominal_per_capita = $1,230 |sovereignty_type = Independence {{nobold|from the [[United Kingdom]], [[France]], and [[Portugal]]}} |established_event1 = Established |established_date1 = 5 February 1948 |established_event2 = Annexation of the Faris Islands |established_date2 = 7 July 1952 |HDI_year = 2011 |HDI_change = increase <!--increase/decrease/steady--> |HDI = 0.943 <!--number only--> |HDI_ref = |HDI_rank = 9th |Gini_year = 2001 |Gini_change = <!--increase/decrease/steady--> |Gini = 32.1 <!--number only--> |Gini_ref = |Gini_rank = |currency = Krakoan dollar |currency_code = KRD |time_zone = [[Marshall Islands Time|MHT]] |utc_offset = +12 |time_zone_DST = not observed |drives_on = left |calling_code = +182 |cctld = .kr }} Krakoa, officially the Republic of Krakoa, is a [https://en.wikipedia.org/wiki/Polynesian Polynesian] island country consisting of four main islands (Cho'okk, Jakerta'an, Suda'rik, and Antora), and a small group of sparsely populated islands to the northeast of Jakerta'an (Faris Islands). The islands that make up Krakoa are located approximately 2,135 kilometers (1,325 miles) from the capital of the US state of [https://en.wikipedia.org/wiki/Hawaii Hawaii], [https://en.wikipedia.org/wiki/Honolulu Honolulu]. The capital and largest metropolitan area is Onkardo. Krakoa is the home of the native Yap'ai people, who settled the islands approximately 4,000 years ago. Krakoa was held and jointly administered by the [https://en.wikipedia.org/wiki/United_Kingdom United Kingdom], [https://en.wikipedia.org/wiki/France France], and [https://en.wikipedia.org/wiki/Portugal Portugal] for well over 300 years to house mutant concentration camps. The concentration camps were introduced to house an exceeding amount of mutants that had been imprisoned in the UK and Europe. Many concentration camps were destroyed before independence, leading to a large mutant population in the country. In the early 1900s, the Krakoan Independence Movement gained traction in the country, and became popularized by the Quiet Independence Coalition, an underground movement. With concentration camps being declared unethical after World War 2, Krakoa was granted independence, and all concentration camps were destroyed on 5 February 1948. Krakoa established a mutant-centric democracy which lasted for roughly 40 years until the Krakoan Revolution of 1989, when the predominantly mutant government was overthrown. The revolution sparked a major economic and military crisis in the country, and it is estimated that around 2,000,000 Krakoan citizens fled to neighboring countries during the crisis. Following the revolution, Krakoa transitioned into a period of stability and peace, with significant economic and safety improvements. In 2022, Krakoa entered into a second state of economic crisis following the worldwide stock market crash of 2022, which triggered the secession of the former province of North Island, and consequently the Krakoan Civil War. The Civil War was the deadliest conflict in the country, with an estimated of 2 million dead, and another 1.5 million displaced within the country. Another 500,000 refugees fled the country. Following United States military intervention in the conflict, the country recovered from economic crisis, and a more stable government was put in place. Krakoa has since transitioned into a period of security and stability, and is regarded as a safe haven for refugees and mutants under prosecution. Krakoa is a unitary parliamentary democracy with 202 [https://en.wikipedia.org/wiki/Administrative_divisions administrative divisions]. It is a [https://en.wikipedia.org/wiki/Sovereign_state sovereign state] and a member of the United Nations. The Unincorporated Territory of the Faris Islands holds member state status within the [https://en.wikipedia.org/wiki/United_Nations Commonwealth of Nations] despite not being independent of Krakoa. The Community of Orcoba holds joint agreements with the government of the United Kingdom that allows Orcobans to freely settle in the United Kingdom. c21a323d485299fd7c91a9baaf6c8ddbf710024a 22 2 2024-04-11T23:14:06Z Heatyeet 2 wikitext text/x-wiki {{Infobox country |conventional_long_name = Republic of Krakoa |native_name = {{lang|fr|Yap'an tunjet Krycoa}} |common_name = Krakoa |image_flag = |alt_flag = Dark blue, yellow, and maroon stripes placed horizontally in descending order. |image_coat = |symbol_type = Coat of Arms |image_map = | map_caption = Location of Krakoa |alt_map = Location of Krakoa in the North Pacific. |national_motto = <br/>"La'taii Tjet Revstakjaske Mut'antska" (Krakoan)<br/>{{small|"Liberation for all of Mutantkind"}} |national_anthem = <br/>"Ojetna'ska Revyatet" (Krakoan) <br/>{{small|"Come Independence, We Shall Rejoice"}} |official_languages = {{hlist |Krakoan |[[English language|English]] |[[French language|French]] |[[Portuguese language|Portuguese]] |Antoran }} |demonym = Krakoan |ethnic_groups = {{unbulleted list | {{nowrap|60% Krakoan Mutants}} | 31% Yap'ai | 9% Non-Krakoan }} |capital = Onkardo |largest_city = Arssoum |government_type = [[Parliamentary republic]] |leader_title1 = [[Prime Minister]] |leader_name1 = Wallis Neta'yai |leader_title2 = President of the Quiet Council |leader_name2 = Rejat'ou Nulo |[[w:Legislature Government|Legislature]] = Quiet Council of Krakoa |area_rank = 54th <!--Demographic Yearbook 1.--> |area_km2 = 475,442 |area_sq_mi = 183,568 <!--Do not remove per [[WP:MOSNUM]]--> |percent_water = 1.3 <!--CIA World Factbook--> |population_estimate = 20,129,878 |population_estimate_rank = 58th <!--UN World Population Prospects--> |population_estimate_year = July 2012 |population_census = 17,463,836 |population_census_year = 2005 |population_density_km2 = 39.7 |population_density_sq_mi = 102.8 <!--Do not remove per [[WP:MOSNUM]]--> |population_density_rank = 167th <!--UN World Population Prospects--> |GDP_PPP = $47.251&nbsp;billion |GDP_PPP_year = 2011 |GDP_PPP_per_capita = $2,257 |GDP_PPP_per_capita_rank = |GDP_nominal = $25.759&nbsp;billion |GDP_nominal_year = 2011 |GDP_nominal_per_capita = $1,230 |sovereignty_type = Independence {{nobold|from the [[United Kingdom]], [[France]], and [[Portugal]]}} |established_event1 = Established |established_date1 = 5 February 1948 |established_event2 = Annexation of the Faris Islands |established_date2 = 7 July 1952 |HDI_year = 2011 |HDI_change = increase <!--increase/decrease/steady--> |HDI = 0.943 <!--number only--> |HDI_ref = |HDI_rank = 9th |Gini_year = 2001 |Gini_change = <!--increase/decrease/steady--> |Gini = 32.1 <!--number only--> |Gini_ref = |Gini_rank = |currency = Krakoan dollar |currency_code = KRD |time_zone = [[Marshall Islands Time|MHT]] |utc_offset = +12 |time_zone_DST = not observed |drives_on = left |calling_code = +182 |cctld = .kr }} Krakoa, officially the Republic of Krakoa, is a [https://en.wikipedia.org/wiki/Polynesian Polynesian] island country consisting of four main islands (Cho'okk, Jakerta'an, Suda'rik, and Antora), and a small group of sparsely populated islands to the northeast of Jakerta'an (Faris Islands). The islands that make up Krakoa are located approximately 2,135 kilometers (1,325 miles) from the capital of the US state of [https://en.wikipedia.org/wiki/Hawaii Hawaii], [https://en.wikipedia.org/wiki/Honolulu Honolulu]. The capital and largest metropolitan area is Onkardo. Krakoa is the home of the native Yap'ai people, who settled the islands approximately 4,000 years ago. Krakoa was held and jointly administered by the [https://en.wikipedia.org/wiki/United_Kingdom United Kingdom], [https://en.wikipedia.org/wiki/France France], and [https://en.wikipedia.org/wiki/Portugal Portugal] for well over 300 years to house mutant concentration camps. The concentration camps were introduced to house an exceeding amount of mutants that had been imprisoned in the UK and Europe. Many concentration camps were destroyed before independence, leading to a large mutant population in the country. In the early 1900s, the Krakoan Independence Movement gained traction in the country, and became popularized by the Quiet Independence Coalition, an underground movement. With concentration camps being declared unethical after World War 2, Krakoa was granted independence, and all concentration camps were destroyed on 5 February 1948. Krakoa established a mutant-centric democracy which lasted for roughly 40 years until the Krakoan Revolution of 1989, when the predominantly mutant government was overthrown. The revolution sparked a major economic and military crisis in the country, and it is estimated that around 2,000,000 Krakoan citizens fled to neighboring countries during the crisis. Following the revolution, Krakoa transitioned into a period of stability and peace, with significant economic and safety improvements. In 2022, Krakoa entered into a second state of economic crisis following the worldwide stock market crash of 2022, which triggered the secession of the former province of North Island, and consequently the Krakoan Civil War. The Civil War was the deadliest conflict in the country, with an estimated of 2 million dead, and another 1.5 million displaced within the country. Another 500,000 refugees fled the country. Following United States military intervention in the conflict, the country recovered from economic crisis, and a more stable government was put in place. Krakoa has since transitioned into a period of security and stability, and is regarded as a safe haven for refugees and mutants under prosecution. Krakoa is a unitary parliamentary democracy with 202 [https://en.wikipedia.org/wiki/Administrative_divisions administrative divisions]. It is a [https://en.wikipedia.org/wiki/Sovereign_state sovereign state] and a member of the United Nations. The Unincorporated Territory of the Faris Islands holds member state status within the [https://en.wikipedia.org/wiki/United_Nations Commonwealth of Nations] despite not being independent of Krakoa. The Community of Orcoba holds joint agreements with the government of the United Kingdom that allows Orcobans to freely settle in the United Kingdom. 7cb6a1fb1f21e822eb4a75d0562d815e2edacad8 Template:Infobox country 10 3 3 2024-04-11T22:27:19Z Rodejong 6 https://dev.miraheze.org/wiki/Template:Infobox_country?oldid=20136 wikitext text/x-wiki <table class="infobox geography vcard" style="width: 22em; font-size: 88%"><!-- ================================================================ Names ================================================================ -->{{#if:{{{conventional_long_name|}}}{{{native_name|}}}{{{name|}}} |<!--then: --><tr class="adr"> <th colspan="3" align="center" class="mergedtoprow fn org country-name" style="line-height:1.2em; padding:0.25em 0.33em 0.33em; font-size:1.25em;"><!-- -->{{#if:{{{conventional_long_name|}}} |<!--then:-->{{{conventional_long_name|}}} }}<!-- -->{{#if:{{{native_name|}}}{{{name|}}} |<!--then:--><div style="padding-top:0.25em;"><!-- -->{{{native_name|}}}{{{name|}}}</div><!-- -->}}<!-- --></th> </tr><!-- -->}}<!-- ================================================================ Flag / Coat-of-arms (or other symbol) ================================================================ -->{{#if:{{{image_flag|}}} |<!--thenF: ----------------------------------------------------------- Flag provided, so display it and coat-of-arms (or other symbol) if provided: ----------------------------------------------------------- --><tr class="mergedtoprow"> <td class="maptable" colspan="3" align="center" style="padding:0.5em 0;"><!-- -------------------------------------------------- Subtable to format coat-of-arms (or symbol) display. Align="center"s and "width:auto;"s are for sake of Internet Explorer. -------------------------------------------------- --><table align="center" style="width:100%; background:none;"><!-- -----------Image/s----------- --><tr> <td align="center" style="{{#if:{{{image_coat|}}}{{{image_symbol|}}} |<!--then:--> {{#if:{{{flag_width|}}} |<!--then:-->width:{{{flag_width}}};<!-- -->|<!--else:-->width:58%;<!--(58% as flags usually wider than coats-of-arms/symbols. Also accommodates IE.)--><!-- -->}} }} vertical-align:middle;"><!-- -->[[File:{{{image_flag}}}|125px|border|alt={{{alt_flag|}}}|Flag of {{{common_name|{{{linking_name|{{{name|{{PAGENAME}}}}}}}}}}}]]<!--end border:--><!-- --></td> {{#if:{{{image_coat|}}}{{{image_symbol|}}} |<!--then:--><td align="center" style="width:auto; vertical-align:middle;"><!-- -->[[File:{{{image_coat|{{{image_symbol|}}}}}} |{{{symbol_width|85px}}} |alt={{{alt_coat|{{{alt_symbol|}}}}}}|{{{symbol_type|Coat of arms}}} of {{{common_name|{{{linking_name|{{{name|{{PAGENAME}}}}}}}}}}}]]<!-- --></td> }} </tr><!-- ----------Caption/s---------- --><tr> {{#if:{{{common_name|}}}{{{linking_name|}}}{{{name|}}} |<!--then: --><td align="center"><small>{{#ifexist:Flag of {{{common_name|{{{linking_name|{{{name|{{PAGENAME}}}}}}}}}}} |<!--then:-->[[Flag of {{{common_name|{{{linking_name|{{{name|{{PAGENAME}}}}}}}}}}} |{{{flag_caption|Flag}}}]]}}</small></td> }} {{#if:{{{image_coat|}}}{{{image_symbol|}}} |<!--then: --><td align="center"><small>{{#ifexist:{{{symbol_type_article|{{{symbol_type|Coat of arms}}}}}} of {{{common_name|{{{linking_name|{{{name|{{PAGENAME}}}}}}}}}}} |<!--then:-->[[{{{symbol_type_article|{{{symbol_type|Coat of arms}}}}}} of {{{common_name|{{{linking_name|{{{name|{{PAGENAME}}}}}}}}}}} |{{{symbol_type|Coat of arms}}}]]}}</small></td> }} </tr><!-- ---------End subtable:--------- --></table> </td> </tr><!-- -->|<!--elseF: ------------------------------------------------------------ Flag not provided, so display coat-of-arms or other symbol (if provided): ------------------------------------------------------------ -->{{#if:{{{image_coat|}}}{{{image_symbol|}}} |<!--thenS2: --><tr class="mergedtoprow"> <td class="maptable" colspan="3" align="center" style="padding:0.5em 0;"><!-- ----------------------------------------------- Subtable to format coat-of-arms (or symbol) display. Align="center"s and "width:auto;"s are for sake of Internet Explorer. ----------------------------------------------- --><table align="center" style="width:100%; background:none;"><!-- -----------Image----------- --><tr> <td align="center" style="width:auto; vertical-align:middle;"><!-- -->[[File:{{{image_coat|{{{image_symbol|}}}}}} |{{{symbol_width|100px}}} |alt={{{alt_coat|{{{alt_symbol|}}}}}}|{{{symbol_type|Coat of arms}}} of {{{common_name|{{{linking_name|{{{name|{{PAGENAME}}}}}}}}}}}]]</td> </tr><!-- ----------Caption---------- --><tr> <td align="center"><!-- --><small>{{#ifexist:{{{symbol_type_article|{{{symbol_type|Coat of arms}}}}}} of {{{common_name|{{{linking_name|{{{name|{{PAGENAME}}}}}}}}}}} |<!--then:--> [[{{{symbol_type_article|{{{symbol_type|Coat of arms}}}}}} of {{{common_name|{{{linking_name|{{{name|{{PAGENAME}}}}}}}}}}} |{{{symbol_type|Coat of arms}}}]]}}</small><!-- --></td> </tr><!-- ---------End subtable:---------- --></table> </td> </tr><!-- -->}}<!--(endS2) -->}}<!--(endF) ================================================================ Motto ================================================================ -->{{#if:{{{national_motto|}}}{{{motto|}}} |<!--then: --><tr> <td colspan="3" style="line-height:1.2em; text-align:center;"><!-- -->'''[[Motto]]:&nbsp;'''{{{national_motto|}}}{{{motto|}}}</td> </tr><!-- -->}}<!-- ================================================================ Anthem/s ================================================================ -->{{#if:{{{national_anthem|}}}{{{royal_anthem|}}}{{{anthem|}}} |<!--then: --><tr> <td class="anthem" colspan="3" style="line-height:1.2em; text-align:center;"><!-- -->{{#if:{{{national_anthem|}}} |<!--then:-->'''[[National anthem|Anthem]]:&nbsp;'''{{{national_anthem}}}<br/> }}<!-- -->{{#if:{{{anthem|}}} |<!--then:-->'''[[Anthem]]:&nbsp;'''{{{anthem}}}<br/> }}<!-- -->{{#if:{{{royal_anthem|}}} |<!--then:-->'''[[Royal anthem]]:&nbsp;'''{{{royal_anthem}}} }}<!-- --></td> </tr><!-- -->}}<!-- ================================================================ Other symbol/s ================================================================ -->{{#if:{{{other_symbol|}}}{{{text_symbol|}}} |<!--then: --><tr> <td colspan="3" style="line-height:1.2em; text-align:center;"><!-- -->{{#if:{{{other_symbol_type|}}}{{{text_symbol_type|}}} |<!--then: -->'''{{{other_symbol_type|}}}{{{text_symbol_type|}}}'''<br/>}}<!-- -->{{{other_symbol|}}}{{{text_symbol|}}}</td> </tr><!-- -->}}<!-- ================================================================ Maps ================================================================ -->{{#if:{{{image_map|}}} |<!--then: --><tr> <td colspan="3" style="text-align:center; padding:0.6em 0em;">[[File:{{{image_map}}} |{{{map_width|250px}}} |center |alt={{{alt_map|}}}|Location of {{{common_name|{{{linking_name|{{PAGENAME}}}}}}}}]] <div style="position:relative; top:0.3em;"><small>{{{map_caption|}}}</small></div> </td> </tr><!-- -->}}<!-- -->{{#if:{{{image_map2|}}} |<!--then: --><tr class="mergedtoprow"> <td colspan="3" style="text-align:center; padding:0.6em 0em;"> [[File:{{{image_map2}}} |{{{map2_width|280px}}} |center |alt={{{alt_map2|}}}|Location of {{{common_name|{{{linking_name|{{PAGENAME}}}}}}}}]] <div style="position:relative; top:0.3em;"><small>{{{map_caption2|}}}</small></div> </td> </tr><!-- -->}}<!-- ================================================================ Capital/Admin center; Largest city/ies or settlement/s ================================================================ -->{{#if:{{{capital|}}}{{{admin_center|}}}{{{largest_city|}}}{{{largest_settlement|}}} |<!--then1: --><tr class="mergedtoprow"><!-- -----------Check if capital/admin center provided:------- -->{{#if:{{{capital|}}}{{{admin_center|}}} |<!--then2: --><td colspan="2"><!-- -->{{#if:{{{admin_center_type|}}}{{{admin_center|}}} |<!--then:-->'''{{{admin_center_type|Administrative&nbsp;center}}}'''<!-- -->|<!--else:-->{{#if:{{{capital_type|}}} |<!--then:-->'''{{{capital_type}}}'''<!-- -->|<!--else:-->'''[[Capital (political)|Capital]]'''<!-- -->}}<!-- -->}}<!-- --------------------------------------------------------- If capital provided, check whether largest_city or largest_settlement (if provided) equals "capital", capital or [[capital]]; --------------------------------------------------------- -->{{#ifeq: {{#ifeq:{{{largest_city|}}}{{{largest_settlement|}}} |<!--equals3:-->capital |<!---then3:--->capital<!-- -->|<!---else3: -->{{#switch:{{{capital}}} | [[{{{largest_city|}}}{{{largest_settlement|}}}]] = capital | {{{largest_city|}}}{{{largest_settlement|}}} = capital | not capital }}<!--(end#switch) -->}}<!--(end3)--> |<!--equals4:-->capital |<!---then4: ----------------------------------------------- capital is largest_city or largest_settlement: ----------------------------------------------- --><br/>[[Demographics of {{{common_name}}}|(and {{{largest_settlement_type|largest city}}})]] </td><!-- --------Add capital:-------- --><td>{{{capital}}}<!-- --------Add capital's latitude and longitude (if provided):------- -->{{#if:{{{latd|}}} |<!--then:--><br/><small><span style="white-space:nowrap;"><!-- -->{{coord|{{{latd}}}|{{{latm}}}|{{{latNS}}}|{{{longd}}}<!-- -->|{{{longm}}}|{{{longEW}}}|type:country({{{area_km2|}}})<!-- -->}}</span></small><!-- -->}} </td><!-- -->|<!---else4: ------------------------------------------------ capital isn't largest_city or largest_settlement: ------------------------------------------------ --></td><!-- --------Add capital/admin center:-------- --><td>{{{capital|}}}{{{admin_center|}}}<!-- --------Add capital/admin center's [lat/long]itude (if provided):------- -->{{#if:{{{latd|}}} |<!--then:--><br/><small><span style="white-space:nowrap;"><!-- -->{{coord|{{{latd}}}|{{{latm}}}|{{{latNS}}}|{{{longd}}}<!-- -->|{{{longm}}}|{{{longEW}}}|type:country({{{area_km2|}}})<!-- -->}}</span></small><!-- -->}} </td><!-- --------Add largest_city or largest_settlement (if provided):-------- -->{{#if:{{{largest_city|}}}{{{largest_settlement|}}} |<!--then5: --></tr> <tr class="mergedbottomrow"> <th colspan="2"><!-- -->{{#if:{{{common_name|}}} |<!--then:-->[[Demographics of {{{common_name}}}|Largest {{{largest_settlement_type|city}}}]]<!-- -->|<!--else:-->Largest {{{largest_settlement_type|city}}}<!-- -->}}<!-- --></th> <td>{{{largest_city|}}}{{{largest_settlement|}}}</td><!-- -->}}<!--(end5) -->}}<!--(end4) --------------------------------------------------------- Capital not provided, so add largest_city or largest_settlement (if provided): --------------------------------------------------------- -->|<!--else2: -->{{#if:{{{largest_city|}}}{{{largest_settlement|}}} |<!--then6: --><th colspan="2"><!-- -->{{#if:{{{common_name|}}} |<!--then:-->[[Demographics of {{{common_name}}}|Largest {{{largest_settlement_type|city}}}]]<!-- -->|<!--else:-->Largest {{{largest_settlement_type|city}}}<!-- -->}}<!-- --></th> <td>{{{largest_city|}}}{{{largest_settlement|}}}</td> }}<!--(end6) -->}}<!--(end2) --></tr><!-- -->}}<!--(end1) ================================================================ Official or Recognised regional languages; Ethnic groups ================================================================ -->{{#if:{{{official_languages|}}} |<!--then: --><tr> <th colspan="2" style="vertical-align:middle; white-space:nowrap;">[[Official language]]s</th> <td>{{{official_languages|}}}</td> </tr><!-- -->{{#if:{{{regional_languages|}}} |<!--then: --><tr class="mergedbottomrow"> <td colspan="2">[[Regional language|Recognised regional&nbsp;language]]s</td> <td style="vertical-align:middle;">{{{regional_languages|}}}</td> </tr><!-- -->}}<!-- -->}}<!-- -->{{#if:{{{languages|}}} |<!--then: --><tr> <th colspan="2" style="vertical-align:middle; white-space:nowrap;">{{{languages_type}}}</th> <td>{{{languages|}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{ethnic_groups|}}} |<!--then: --><tr> <td colspan="2">'''[[Ethnic group]]s'''&nbsp;<!-- -->{{#if:{{{ethnic_groups_year|}}} |<!--then:-->({{{ethnic_groups_year}}}) }}</td> <td>{{{ethnic_groups}}}</td> </tr><!-- -->}}<!-- ================================================================ Demonym ================================================================ -->{{#if:{{{demonym|}}} |<!--then: --><tr> <th colspan="2">[[Demonym]]</th> <td>{{#ifexist:{{{demonym}}} people |<!--then: -->[[{{{demonym}}} people|{{{demonym}}}]] |<!--else: -->{{{demonym}}}<!-- -->}} </td> </tr><!-- -->}}<!-- ================================================================ Organization type, Membership (geopolitical organization) ================================================================ -->{{#if:{{{org_type|}}} |<!--then: --><tr> <td colspan="2">'''Type'''</td> <td>{{{org_type}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{membership|}}} |<!--then: --><tr> <td colspan="2" style="vertical-align:middle;"> '''{{{membership_type|Membership}}}'''</td> <td>{{{membership}}}</td> </tr><!-- -->}}<!-- ================================================================ "Government" (country/territory) or "Leaders" (geopolitical organization) ================================================================ -->{{#if:{{{government_type|}}} |<!--then: --><tr> <th colspan="2">[[Government]]</th> <td>{{{government_type|}}}</td> </tr><!-- -->|<!--else no government_type provided, so if at least one leader provided, use "Leaders" (geopolitical org) or "Government" (country/territory): -->{{#if:{{{leader_title1|}}}{{{leader_name1|}}} |<!--then: -->{{#if:{{{name|}}}{{{membership|}}} |<!--then template being used for geopolitical organization: --><tr><th colspan="3">Leaders</th></tr><!-- -->|<!--else template being used for a country or territory: --><tr><th colspan="3">[[Government]]</th></tr><!-- -->}}<!-- -->}}<!-- -->}}<!-- ================================================================ Leaders ================================================================ -->{{#if:{{{leader_title1|}}} |<!--then: --><tr class="{{#if:{{{leader_title2|}}} |<!--then:-->mergedrow |<!--else:-->mergedbottomrow}}"> <td style="width:1em; padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0em;">{{{leader_title1}}}</td> <td>{{{leader_name1}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{leader_title2|}}} |<!--then: --><tr class="{{#if:{{{leader_title3|}}} |<!--then:-->mergedrow |<!--else:-->mergedbottomrow}}"> <td style="width:1em; padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0em;">{{{leader_title2}}}</td> <td>{{{leader_name2}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{leader_title3|}}} |<!--then: --><tr class="{{#if:{{{leader_title4|}}} |<!--then:-->mergedrow |<!--else:-->mergedbottomrow}}"> <td style="width:1em; padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0em;">{{{leader_title3}}}</td> <td>{{{leader_name3}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{leader_title4|}}} |<!--then: --><tr class="{{#if:{{{leader_title5|}}} |<!--then:-->mergedrow |<!--else:-->mergedbottomrow}}"> <td style="width:1em; padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0em;">{{{leader_title4}}}</td> <td>{{{leader_name4}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{leader_title5|}}} |<!--then: --><tr class="mergedbottomrow"> <td style="width:1em; padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0em;">{{{leader_title5}}}</td> <td>{{{leader_name5}}}</td> </tr><!-- -->}}<!-- ================================================================ Legislature ================================================================ -->{{#if:{{{legislature|}}} |<!--then: --><tr> <th colspan="2">[[Legislature]]</th> <td>{{{legislature|}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{upper_house|}}} |<!--then: --> <td style="width:1em; padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0em;">[[Upper House]]</td> <td>{{{upper_house}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{lower_house|}}} |<!--then: --><tr class="mergedbottomrow"> <td style="width:1em; padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0em;">[[Lower House]]</td> <td>{{{lower_house}}}</td> </tr><!-- -->}}<!-- ================================================================ Sovereignty (country/territory) or Establishment (geopolitical organization) ================================================================ -->{{#if:{{{established_event1|}}}{{{sovereignty_type|}}}{{{established|}}} |<!--then: --><tr {{#if:{{{established_event1|}}} |<!--then:-->class="mergedtoprow"}}><!-- ----------Sovereignty---------- -->{{#if:{{{sovereignty_type|}}} |<!--then:-->{{#if:{{{sovereignty_note|}}} |<!--then:--><th colspan="2">{{{sovereignty_type}}}</th> <td>{{{sovereignty_note}}}&nbsp;</td><!-- -->|<!--else:--><th colspan="3">{{{sovereignty_type}}}</th><!-- -->}}<!-- ---------Establishment---------- -->|<!--else:-->{{#if:{{{established|}}} |<!--then:--><th colspan="2">Establishment</th> <td>{{{established}}}</td><!-- -->|<!--else:--><th colspan="3">Establishment</th><!-- -->}}<!-- -->}}<!-- --></tr><!-- -->}}<!-- ================================================================ Significant events in country/territory or organization's establishment ================================================================ -->{{#if:{{{established_event1|}}} |<!--then: --><tr class="{{#if:{{{established_event2|}}} |<!--then:-->mergedrow |<!--else:-->mergedbottomrow}}"> <td style="width:1em; padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0em;">{{{established_event1}}}</td> <td>{{{established_date1|}}}&nbsp;</td> </tr><!-- -->}}<!-- -->{{#if:{{{established_event2|}}} |<!--then: --><tr class="{{#if:{{{established_event3|}}} |<!--then:-->mergedrow |<!--else:-->mergedbottomrow}}"> <td style="width:1em; padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0em;">{{{established_event2}}}</td> <td>{{{established_date2|}}}&nbsp;</td> </tr><!-- -->}}<!-- -->{{#if:{{{established_event3|}}} |<!--then: --><tr class="{{#if:{{{established_event4|}}} |<!--then:-->mergedrow |<!--else:-->mergedbottomrow}}"> <td style="width:1em; padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0em;">{{{established_event3}}}</td> <td>{{{established_date3|}}}&nbsp;</td> </tr><!-- -->}}<!-- -->{{#if:{{{established_event4|}}} |<!--then: --><tr class="{{#if:{{{established_event5|}}} |<!--then:-->mergedrow |<!--else:-->mergedbottomrow}}"> <td style="width:1em; padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0em;">{{{established_event4}}}</td> <td>{{{established_date4|}}}&nbsp;</td> </tr><!-- -->}}<!-- -->{{#if:{{{established_event5|}}} |<!--then: --><tr class="{{#if:{{{established_event6|}}} |<!--then:-->mergedrow |<!--else:-->mergedbottomrow}}"> <td style="width:1em; padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0em;">{{{established_event5}}}</td> <td>{{{established_date5|}}}&nbsp;</td> </tr><!-- -->}}<!-- -->{{#if:{{{established_event6|}}} |<!--then: --><tr class="{{#if:{{{established_event7|}}} |<!--then:-->mergedrow |<!--else:-->mergedbottomrow}}"> <td style="width:1em; padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0em;">{{{established_event6}}}</td> <td>{{{established_date6|}}}&nbsp;</td> </tr><!-- -->}}<!-- -->{{#if:{{{established_event7|}}} |<!--then: --><tr class="{{#if:{{{established_event8|}}} |<!--then:-->mergedrow |<!--else:-->mergedbottomrow}}"> <td style="width:1em; padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0em;">{{{established_event7}}}</td> <td>{{{established_date7|}}}&nbsp;</td> </tr><!-- -->}}<!-- -->{{#if:{{{established_event8|}}} |<!--then: --><tr class="{{#if:{{{established_event9|}}} |<!--then:-->mergedrow |<!--else:-->mergedbottomrow}}"> <td style="width:1em; padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0em;">{{{established_event8}}}</td> <td>{{{established_date8|}}}&nbsp;</td> </tr><!-- -->}}<!-- -->{{#if:{{{established_event9|}}} |<!--then: --><tr class="mergedbottomrow"> <td style="width:1em; padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0em;">{{{established_event9}}}</td> <td>{{{established_date9|}}}&nbsp;</td> </tr><!-- -->}}<!-- ================================================================ Accession to the European Union (country/territory) ================================================================ -->{{#if:{{{accessionEUdate|}}} |<!--then: --><tr> <th colspan="2">[[European Union|EU]] [[European Union member state|accession]]</th> <td style="vertical-align:middle;">{{{accessionEUdate}}}</td> </tr><!-- -->}}<!-- ================================================================ Area (area_label, area_km2, area_label2, area_data2,...) ================================================================ -->{{#if:{{{area_km2|}}} |<!--then: --><tr class="mergedtoprow"> <th colspan="3">[[Area]]</th> </tr> <tr class="mergedrow"> <td style="width:1em; padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0em;">{{{area_label|Total}}}<!-- --France-related footnote:-->{{#if:{{{FR_foot4|}}} |<!--then:-->{{{FR_foot4}}} }}</td> <td>[[{{{area_magnitude|}}} {{#if:{{{area_magnitude|}}} |<!--then:-->m² |<!--else:-->Square metre}} | {{formatnum:{{{area_km2|}}}}}&nbsp;km<sup>2</sup>]]&nbsp;<!-- -->{{#if:{{{area_footnote|}}}|{{{area_footnote|}}} }}{{#if:{{{area_rank|}}} |<!--then:-->([[List of countries and outlying territories by total area|{{{area_rank}}}]]) }}<!-- --><br/>{{#if:{{{area_sq_mi|}}}|{{formatnum:{{{area_sq_mi|}}}}}|{{formatnum:{{#expr: {{{area_km2|}}} div 2.589988110336 round 0}}}}}}&nbsp;[[Square mile|sq&nbsp;mi]]&nbsp;</td> </tr><!-- -->}}<!-- -------------------Percentage water-------------------- -->{{#if:{{{percent_water|}}} |<!--then: --><tr class="mergedrow"> <td style="width:1em; padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0em;">[[Water]]&nbsp;([[Percent|%]])</td> <td>{{{percent_water|}}}</td> </tr><!-- -->}}<!-- -------------------Area 2 (customized)------------------ -->{{#if:{{{area_label2|}}} |<!--then: --><tr class="mergedrow"> <td>&nbsp;-&nbsp;</td> <td style="padding-left:0em;">{{{area_label2|}}}</td> <td>{{{area_data2|area_data2}}}</td> </tr><!-- -->}}<!-- -----------Areas of France----------- -->{{#if:{{{FR_metropole|}}} |<!--then: --><tr class="mergedrow"> <td style="width:1em; padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td colspan="2" style="padding-left:0em;">{{{FR_metropole}}}</td> </tr> <tr class="mergedrow"> <td style="width:1em; padding:0 0 0 0.6em;">&nbsp;</td> <td style="padding-left:1em;">-&nbsp;[[Institut Géographique National|IGN]]{{{FR_foot2|}}}</td> <td>[[{{{FR_IGN_area_magnitude|}}} {{#if:{{{FR_IGN_area_magnitude|}}} |<!--then:-->m² |<!--else:-->Square metre}} | {{formatnum:{{{FR_IGN_area_km2|}}}}}&nbsp;km<sup>2</sup>]]&nbsp;([[List of countries and outlying territories by total area|{{{FR_IGN_area_rank|}}}]])<br/><!-- -->{{#if:{{{FR_IGN_area_sq_mi|}}}|{{formatnum:{{{FR_IGN_area_sq_mi|}}}}}|{{formatnum:{{#expr: {{{FR_IGN_area_km2|}}} div 2.589988110336 round 0}}}}}}&nbsp;sq&nbsp;mi</td> </tr> <tr class="mergedrow"> <td style="width:1em; padding:0 0 0 0.6em;">&nbsp;</td> <td style="padding-left:1em;">-&nbsp;[[Cadastre]]{{{FR_foot3|}}}</td> <td>[[{{{FR_cadastre_area_magnitude|}}} {{#if:{{{FR_cadastre_area_magnitude|}}} |<!--then:-->m² |<!--else:-->Square metre}} | {{formatnum:{{{FR_cadastre_area_km2|}}}}}&nbsp;km<sup>2</sup>]]&nbsp;([[List of countries and outlying territories by total area|{{{FR_cadastre_area_rank|}}}]])<br/><!-- -->{{#if:{{{FR_cadastre_area_sq_mi|}}}|{{formatnum: {{{FR_cadastre_area_sq_mi|}}}}}|{{formatnum:{{#expr: {{{FR_cadastre_area_km2|}}} div 2.589988110336 round 0}}}}}} &nbsp;sq&nbsp;mi</td> </tr><!-- -->}}<!-- ================================================================ Population ================================================================ -->{{#if:{{{population_estimate|}}}{{{population_census|}}}{{{FR_metropole_population|}}} |<!--then: --><tr class="mergedtoprow"> <th colspan="3">[[Population]]</th> </tr><!-- ---------------Estimate--------------- -->{{#if:{{{population_estimate|}}} |<!--then: --><tr class="mergedrow"> <td style="width:1em; padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0em;">{{{population_estimate_year|}}}&nbsp;estimate</td> <td>{{{population_estimate|}}}&nbsp;<!-- -->{{#if:{{{population_estimate_rank|}}} |<!--then:-->([[List of countries by population|{{{population_estimate_rank}}}]]) }}</td> </tr><!-- -->}}<!-- ----------------Census---------------- -->{{#if:{{{population_census|}}} |<!--then: --><tr class="mergedrow"> <td style="width:1em; padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0em;">{{{population_census_year|}}}&nbsp;census</td> <td>{{{population_census|}}}&nbsp;<!-- -->{{#if:{{{population_census_rank|}}} |<!--then:-->([[List of countries by population|{{{population_census_rank}}}]]) }}</td> </tr><!-- -->}}<!-- -->}}<!-- -------(France)------- -->{{#if:{{{FR_metropole_population|}}} |<!--then: --><tr class="mergedrow"> <td style="width:1em; padding:0 0 0 0.6em;">&nbsp;</td> <td colspan="2" style="padding-left:0em;">({{{FR_total_population_estimate_year}}})</td> </tr> <tr class="mergedrow"> <td style="width:1em; padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0em;">Total{{{FR_foot}}}</td> <td>{{{FR_total_population_estimate}}}&nbsp;([[List of countries by population in 2005|{{{FR_total_population_estimate_rank}}}]])</td> </tr> <tr class="mergedrow"> <td style="width:1em; padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0em;">{{{FR_metropole}}}</td> <td>{{{FR_metropole_population}}}&nbsp;([[List of countries by population in 2005|{{{FR_metropole_population_estimate_rank}}}]])</td> </tr><!-- -->}}<!-- ---------------Density---------------- -->{{#if:{{{population_density_km2|}}} |<!--then: --><tr class="mergedbottomrow"> <td style="width:1em; padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0em;">[[Population density|Density]]<!-- --France-related footnote:-->{{#if:{{{FR_foot5|}}} |<!--then:-->{{{FR_foot5}}} }}</td> <td>{{{population_density_km2|}}}/km<sup>2</sup>&nbsp;<!-- -->{{#if:{{{pop_den_footnote|}}}|{{{pop_den_footnote|}}}}}{{#if:{{{population_density_rank|}}} |<!--then:-->([[List of countries by population density|{{{population_density_rank}}}]]) }}<!-- --><br/>{{#if:{{{population_density_sq_mi|}}}|{{formatnum:{{{population_density_sq_mi|}}} }}|{{formatnum:{{#expr: {{{population_density_km2|}}} * 2.589988110336 round 1}}}} }}/sq&nbsp;mi</td> </tr><!-- -->}}<!-- ================================================================ GDP ================================================================ -----------------PPP----------------- -->{{#if:{{{GDP_PPP|}}} |<!--then: --><tr class="mergedtoprow"> <td colspan="2">'''[[Gross domestic product|GDP]]'''&nbsp;([[Purchasing power parity|PPP]])</td> <td>{{{GDP_PPP_year|}}}&nbsp;estimate</td> </tr> <tr class="mergedrow"> <td style="width:1em; padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0em;">Total</td> <td>{{{GDP_PPP}}}&nbsp;<!-- -->{{#if:{{{GDP_PPP_rank|}}} |<!--then:-->([[List of countries by GDP (PPP)|{{{GDP_PPP_rank}}}]]) }}</td> </tr><!-- -------(PPP per capita)------- -->{{#if:{{{GDP_PPP_per_capita|}}} |<!--then: --><tr class="mergedbottomrow"> <td style="width:1em; padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0em;">[[Per capita]]</td> <td>{{{GDP_PPP_per_capita}}}&nbsp;<!-- -->{{#if:{{{GDP_PPP_per_capita_rank|}}} |<!--then:-->([[List of countries by GDP (PPP) per capita|{{{GDP_PPP_per_capita_rank}}}]]) }}</td> </tr><!-- -->}}<!-- -->}}<!-- ---------------Nominal--------------- -->{{#if:{{{GDP_nominal|}}} |<!--then: --><tr class="mergedtoprow"> <td colspan="2">'''[[Gross domestic product|GDP]]''' (nominal)</td> <td>{{{GDP_nominal_year|}}}&nbsp;estimate</td> </tr> <tr class="mergedrow"> <td style="width:1em; padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0em;">Total</td> <td>{{{GDP_nominal}}}&nbsp;<!-- -->{{#if:{{{GDP_nominal_rank|}}} |<!--then:-->([[List of countries by GDP (nominal)|{{{GDP_nominal_rank}}}]]) }}</td> </tr><!-- -------(Nominal per capita)------- -->{{#if:{{{GDP_nominal_per_capita|}}} |<!--then: --><tr class="mergedbottomrow"> <td style="width:1em; padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0em;">[[Per capita]]</td> <td>{{{GDP_nominal_per_capita}}}&nbsp;<!-- -->{{#if:{{{GDP_nominal_per_capita_rank|}}} |<!--then:-->([[List of countries by GDP (nominal) per capita|{{{GDP_nominal_per_capita_rank}}}]]) }}</td> </tr><!-- -->}}<!-- -->}}<!-- ================================================================ Gini ================================================================ -->{{#if:{{{Gini|}}} |<!--then: --><tr> <td colspan="2">'''[[Gini_coefficient|Gini]]'''&nbsp;{{#if:{{{Gini_year|}}} |<!--then:-->({{{Gini_year|}}}) }}</td> <td>{{{Gini}}}&nbsp;<!-- -->{{#if:{{{Gini_category|}}} |<!--then:-->({{{Gini_category|}}})&nbsp;}}<!-- -->{{#if:{{{Gini_rank|}}} |<!--then:-->([[List of countries by income equality|{{{Gini_rank}}}]]) }}</td> </tr><!-- -->}}<!-- ================================================================ HDI ================================================================ -->{{#if:{{{HDI|}}} |<!--then: --><tr> <td colspan="2">'''[[Human Development Index|HDI]]'''&nbsp;{{#if:{{{HDI_year|}}} |<!--then:-->({{{HDI_year|}}}) }}</td> <td>{{{HDI}}}&nbsp;<!-- -->{{#if:{{{HDI_category|}}} |<!--then:-->({{{HDI_category|}}})&nbsp;}}<!-- -->{{#if:{{{HDI_rank|}}} |<!--then:-->([[List of countries by Human Development Index|{{{HDI_rank}}}]]) }}</td> </tr><!-- -->}}<!-- ================================================================ Currency ================================================================ -->{{#if:{{{currency|}}} |<!--then: --><tr> <th colspan="2" style="vertical-align:middle;">[[Currency]]</th> <td>{{{currency}}} <!-- -->{{#if:{{{currency_code|}}} |<!--then:-->(<code>[[ISO 4217|{{{currency_code}}}]]</code>)}} </td> </tr><!-- -->}}<!-- ================================================================ Time zone ================================================================ -->{{#if:{{{time_zone|}}}{{{utc_offset|}}} |<!--then: --><tr {{#if:{{{utc_offset_DST|}}}{{{DST_note|}}} |<!--then:-->class="mergedtoprow"}}> <th colspan="2">[[Time zone]]</th> <td>{{{time_zone|}}} <!-- -->{{#if:{{{utc_offset|}}} |<!--then:-->{{nowrap|([[Coordinated Universal Time|UTC]]{{{utc_offset}}})<!--endnowrap:-->}}<!--endif:-->}}</td> </tr><!-- -->{{#if:{{{utc_offset_DST|}}} |<!--then: --><tr class="{{#if:{{{DST_note|}}} |<!--then:-->mergedrow |<!--else:-->mergedbottomrow}}"> <td style="width:1em; padding:0 0 0 0.6em;">&nbsp;-&nbsp;</td> <td style="padding-left:0em;">Summer&nbsp;([[Daylight saving time|DST]])</td> <td>{{{DST|{{{time_zone_DST|}}}}}}&nbsp;([[Coordinated Universal Time|UTC]]{{{utc_offset_DST}}})</td> </tr><!-- -->}}<!-- -->}}<!-- -->{{#if:{{{DST_note|}}} |<!--then: --><tr class="mergedbottomrow"> <td colspan="2"></td> <td>{{{DST_note}}}</td> </tr><!-- -->}}<!-- ========================================================================================== Date format ========================================================================================== -->{{#if:{{{date_format|}}} |<!--then: --><tr> <th colspan="2">[[Calendar date|Date formats]]</th> <td>{{{date_format}}}</td> </tr><!-- -->}}<!-- ========================================================================================== Rule of the Road ========================================================================================== -->{{#if:{{{drives_on|}}} |<!--then: --><tr> <th colspan="2">[[Right- and left-hand traffic|Drives on the]]</th> <td>{{{drives_on}}}</td> </tr><!-- -->}}<!-- ================================================================ Internet TLD ================================================================ -->{{#if:{{{cctld|}}} |<!--then: --><tr> <th colspan="2">[[Country code top-level domain|Internet TLD]]</th> <td>{{{cctld}}}</td> </tr><!-- -->}}<!-- ================================================================ Official website (geopolitical organization) ================================================================ -->{{#if:{{{official_website|}}} |<!--then: --><tr> <td colspan="3" style="line-height:11pt; text-align:center;"><!-- -->'''Website'''<br/>{{{official_website}}}</td> </tr><!-- -->}}<!-- ================================================================ Calling code ================================================================ -->{{#if:{{{calling_code|}}} |<!--then: --><tr> <th colspan="2">[[List of country calling codes|Calling code]]</th> <td>{{{calling_code}}}</td> </tr><!-- -->}}<!-- ================================================================ Patron saint (UK constituent countries) ================================================================ -->{{#if:{{{patron_saint|}}} |<!--then: --><tr> <th colspan="2" >[[Patron saint]]</th> <td>{{{patron_saint}}}</td> </tr><!-- -->}}<!-- <!-- ================================================================ Bottom Map ================================================================ -->{{#if:{{{image_map3|}}} |<!--then: --><tr class="mergedtoprow"> <td colspan="3" style="text-align:center; padding:0.6em 0em;"> [[File:{{{image_map3}}} |{{{map3_width|250px}}} |center |alt={{{alt_map3|}}}|Location of {{{common_name|{{{linking_name|{{PAGENAME}}}}}}}}]] <div style="position:relative; top:0.3em;"><small>{{{map_caption3|}}}</small></div> </td> </tr><!-- -->}}<!-- ================================================================ Footnotes ================================================================ ----------Non-specific---------- -->{{#if:{{{footnotes|}}} |<!--then: --><tr> <td colspan="3"><small>{{{footnotes}}}</small></td> </tr><!-- -->}}<!-- ------------Numbered------------ -->{{#if:{{{footnote1|}}} |<!--then: --><tr style="font-size:80%;"> <td align="right">{{lower|0.3em|<sup>1</sup>}}</td> <td colspan="2" style="padding-left:0em;">{{{footnote1}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{footnote2|}}} |<!--then: --><tr class="{{#if:{{{footnote3|}}} |<!--then:-->mergedrow |<!--else:-->mergedbottomrow}}" style="font-size:80%;"> <td align="right">{{lower|0.3em|<sup>2</sup>}}</td> <td colspan="2" style="padding-left:0em;">{{{footnote2}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{footnote3|}}} |<!--then: --><tr class="{{#if:{{{footnote4|}}} |<!--then:-->mergedrow |<!--else:-->mergedbottomrow}}" style="font-size:80%;"> <td align="right">{{lower|0.3em|<sup>3</sup>}}</td> <td colspan="2" style="padding-left:0em;">{{{footnote3}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{footnote4|}}} |<!--then: --><tr class="{{#if:{{{footnote5|}}} |<!--then:-->mergedrow |<!--else:-->mergedbottomrow}}" style="font-size:80%;"> <td align="right">{{lower|0.3em|<sup>4</sup>}}</td> <td colspan="2" style="padding-left:0em;">{{{footnote4}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{footnote5|}}} |<!--then: --><tr class="{{#if:{{{footnote6|}}} |<!--then:-->mergedrow |<!--else:-->mergedbottomrow}}" style="font-size:80%;"> <td align="right">{{lower|0.3em|<sup>5</sup>}}</td> <td colspan="2" style="padding-left:0em;">{{{footnote5}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{footnote6|}}} |<!--then: --><tr class="{{#if:{{{footnote7|}}} |<!--then:-->mergedrow |<!--else:-->mergedbottomrow}}" style="font-size:80%;"> <td align="right">{{lower|0.3em|<sup>6</sup>}}</td> <td colspan="2" style="padding-left:0em;">{{{footnote6}}}</td> </tr><!-- -->}}<!-- -->{{#if:{{{footnote7|}}} |<!--then: --><tr class="mergedbottomrow" style="font-size:80%;"> <td align="right">{{lower|0.3em|<sup>7</sup>}}</td> <td colspan="2" style="padding-left:0em;">{{{footnote7}}}</td> </tr><!-- -->}}<!-- --></table><!--<noinclude>{{documentation}}</noinclude>--> 78bdf89443a131ee942b191265c56b86473dbf58 Template:Infobox 10 4 4 2024-04-11T22:29:12Z Rodejong 6 https://dev.miraheze.org/wiki/Template:Infobox?oldid=7707 wikitext text/x-wiki {{#invoke:Infobox|infobox}}<noinclude>{documentation}}</noinclude> 7cb86ed5ba43a7b041e0b30797a116616c171a65 5 4 2024-04-11T22:29:37Z Rodejong 6 + wikitext text/x-wiki {{#invoke:Infobox|infobox}}<noinclude>{{documentation}}</noinclude> 6d759c8d11a46a1ff3c5c20eeed45052cf5fc6ba Template:Documentation 10 5 6 2024-04-11T22:32:03Z Rodejong 6 https://dev.miraheze.org/wiki/Template:Simple_documentation?oldid=18597 wikitext text/x-wiki <includeonly>__NOEDITSECTION__ <div class="sjabdocnote" style="color:grey; text-align:center; margin-top:1em;"><small>'''The template description below will not be displayed when the template is placed.'''</small></div> <div class="toccolours template-documentation" style="background: #FFFFEE; border: 1px solid #FFDAB9;font-size:100%;">'''Template''': {{navbar|{{PAGENAME}}|mini=1}} ─ '''Template/doc''': {{navbar|{{PAGENAME}}/doc|mini=1}}</div> <div class="toccolours template-documentation" style="background: #FFFFEE; border: 1px solid #FFDAB9;font-size:100%;"> {{#if:{{{1|{{{content|}}}}}} |{{{1|{{{content}}}}}} |{{/doc}}}} </div></includeonly><noinclude>{{Simple documentation|1= {{Dependencies|Template:Navbar}} ;Goal This template can be used to add information about the purpose and use of a template. It also serves to create a separation between a template and the information about use that is not included when a template is placed. ;Usage The template can be used with two parameters and must be put between &lt;noinclude&gt;&lt;/noinclude&gt;. <pre><nowiki>&lt;noinclude&gt;{{</nowiki>Simple documentation|1= Explanation of purpose and use of the template <nowiki>}} &lt;/noinclude&gt;</nowiki></pre> <pre><nowiki>&lt;noinclude&gt;{{</nowiki>Simple documentation|content= Explanation of purpose and use of the template <nowiki>}} &lt;/noinclude&gt;</nowiki></pre> ;It is suggested to always use the following parts in the template information: *Goal *Usage ;And if applicable: *Default values *Related templates For clarity, headings are best preceded by a semicolon (;). }}[[Category:Documentation templates]]</noinclude> 1ca60a177f40f97a20f2a51bb6e13af25b00dfc8 7 6 2024-04-11T22:32:36Z Rodejong 6 -/- wikitext text/x-wiki <includeonly>__NOEDITSECTION__ <div class="sjabdocnote" style="color:grey; text-align:center; margin-top:1em;"><small>'''The template description below will not be displayed when the template is placed.'''</small></div> <div class="toccolours template-documentation" style="background: #FFFFEE; border: 1px solid #FFDAB9;font-size:100%;">'''Template''': {{navbar|{{PAGENAME}}|mini=1}} ─ '''Template/doc''': {{navbar|{{PAGENAME}}/doc|mini=1}}</div> <div class="toccolours template-documentation" style="background: #FFFFEE; border: 1px solid #FFDAB9;font-size:100%;"> {{#if:{{{1|{{{content|}}}}}} |{{{1|{{{content}}}}}} |{{/doc}}}} </div></includeonly><noinclude>{{Documentation|1= {{Dependencies|Template:Navbar}} ;Goal This template can be used to add information about the purpose and use of a template. It also serves to create a separation between a template and the information about use that is not included when a template is placed. ;Usage The template can be used with two parameters and must be put between &lt;noinclude&gt;&lt;/noinclude&gt;. <pre><nowiki>&lt;noinclude&gt;{{</nowiki>Documentation|1= Explanation of purpose and use of the template <nowiki>}} &lt;/noinclude&gt;</nowiki></pre> <pre><nowiki>&lt;noinclude&gt;{{</nowiki>Documentation|content= Explanation of purpose and use of the template <nowiki>}} &lt;/noinclude&gt;</nowiki></pre> ;It is suggested to always use the following parts in the template information: *Goal *Usage ;And if applicable: *Default values *Related templates For clarity, headings are best preceded by a semicolon (;). }}[[Category:Documentation templates]]</noinclude> e624c8e02cefd1e3a16829ac7966d02ecff027de Template:Dependencies 10 6 8 2024-04-11T22:33:26Z Rodejong 6 https://dev.miraheze.org/wiki/Template:Dependencies?oldid=16543 wikitext text/x-wiki <div style="background: lightyellow; margin-bottom:3px; font-weight:bold;">{{trim| Dependencies: * [[{{{1}}}]] {{#if:{{{2|}}}|* [[{{{2}}}]]}} {{#if:{{{3|}}}|* [[{{{3}}}]]}} {{#if:{{{4|}}}|* [[{{{4}}}]]}} {{#if:{{{5|}}}|* [[{{{5}}}]]}} {{#if:{{{6|}}}|* [[{{{6}}}]]}} {{#if:{{{7|}}}|* [[{{{7}}}]]}} }}</div><noinclude>{{doc|content=Indicates which other templates (or modules) from this wiki the given template depends on. If you export this template to another wiki, you will need to export those too. == usage == <pre>{{Dependencies| | | | | }}</pre> }}[[Category:Templates]]</noinclude> f76b2f2be068e009fd6371473c518c39d30939a5 Template:Doc 10 7 9 2024-04-11T22:33:59Z Rodejong 6 + wikitext text/x-wiki #REDIRECT [[Template:Documentation]] 42f6a7b19e5c3f7b2cf63e7b21f4401a495a2975 Template:Trim 10 8 10 2024-04-11T22:34:45Z Rodejong 6 https://dev.miraheze.org/wiki/Template:Trim?oldid=9499 wikitext text/x-wiki <includeonly>{{ {{{|safesubst:}}}#if:1|{{{x|{{{1|}}}}}}}}</includeonly> dc8286581dea98200e25067cfebd1c83c4aa8983 Template:Navbar 10 9 11 2024-04-11T22:35:55Z Rodejong 6 https://dev.miraheze.org/wiki/Template:Navbar?oldid=13769 wikitext text/x-wiki <span class="noprint plainlinks navbar" style="{{{style|}}}"><!-- -->{{#if:{{{mini|}}}{{{plain|}}}|<!--nothing-->|<!--else: --><span style="{{{fontstyle|}}}">{{{text|This box:}}} </span>}}<!-- -->{{#if:{{{brackets|}}}|<span style="{{{fontstyle|}}}">&#91;</span>}}<!-- --><span style="white-space:nowrap;word-spacing:-.12em;"><!-- -->[[{{ns:10}}:{{{1}}}|<span style="{{{fontstyle|}}}" title="View this template"><!-- -->{{#if:{{{mini|}}}|v|view}}</span>]]<!-- --><span style="{{{fontstyle|}}}">&#32;<b>&middot;</b>&#32;</span><!-- -->[[{{ns:11}}:{{{1}}}|<span style="{{{fontstyle|}}}" title="Discuss this template"><!-- -->{{#if:{{{mini|}}}|d|talk}}</span>]]<!-- -->{{#if:{{{noedit|}}}|<!--nothing-->|<!--else: --><span style="{{{fontstyle|}}}">&#32;<b>&middot;</b>&#32;</span><!-- -->[{{fullurl:{{ns:10}}:{{{1}}}|action=edit}} <span style="{{{fontstyle|}}}" title="Edit this template"><!-- -->{{#if:{{{mini|}}}|e|edit}}</span>]}}<!-- --></span><!-- -->{{#if:{{{brackets|}}}|<span style="{{{fontstyle|}}}">&#93;</span>}}<!-- --></span> 2d0149e72728622365f9f6734fe7954fdd0fb360 Module:Infobox 828 10 12 2024-04-11T22:38:33Z Rodejong 6 https://dev.miraheze.org/wiki/Module:Infobox?oldid=21476 Scribunto text/plain -- -- This module implements {{Infobox}} -- local p = {} local args = {} local origArgs = {} local root local function notempty( s ) return s and s:match( '%S' ) end local function fixChildBoxes(sval, tt) if notempty(sval) then local marker = '<span class=special_infobox_marker>' local s = sval s = mw.ustring.gsub(s, '(<%s*[Tt][Rr])', marker .. '%1') s = mw.ustring.gsub(s, '(</[Tt][Rr]%s*>)', '%1' .. marker) if s:match(marker) then s = mw.ustring.gsub(s, marker .. '%s*' .. marker, '') s = mw.ustring.gsub(s, '([\r\n]|-[^\r\n]*[\r\n])%s*' .. marker, '%1') s = mw.ustring.gsub(s, marker .. '%s*([\r\n]|-)', '%1') s = mw.ustring.gsub(s, '(</[Cc][Aa][Pp][Tt][Ii][Oo][Nn]%s*>%s*)' .. marker, '%1') s = mw.ustring.gsub(s, '(<%s*[Tt][Aa][Bb][Ll][Ee][^<>]*>%s*)' .. marker, '%1') s = mw.ustring.gsub(s, '^(%{|[^\r\n]*[\r\n]%s*)' .. marker, '%1') s = mw.ustring.gsub(s, '([\r\n]%{|[^\r\n]*[\r\n]%s*)' .. marker, '%1') s = mw.ustring.gsub(s, marker .. '(%s*</[Tt][Aa][Bb][Ll][Ee]%s*>)', '%1') s = mw.ustring.gsub(s, marker .. '(%s*\n|%})', '%1') end if s:match(marker) then local subcells = mw.text.split(s, marker) s = '' for k = 1, #subcells do if k == 1 then s = s .. subcells[k] .. '</' .. tt .. '></tr>' elseif k == #subcells then local rowstyle = ' style="display:none"' if notempty(subcells[k]) then rowstyle = '' end s = s .. '<tr' .. rowstyle ..'><' .. tt .. ' colspan=2>\n' .. subcells[k] elseif notempty(subcells[k]) then if (k % 2) == 0 then s = s .. subcells[k] else s = s .. '<tr><' .. tt .. ' colspan=2>\n' .. subcells[k] .. '</' .. tt .. '></tr>' end end end end -- the next two lines add a newline at the end of lists for the PHP parser -- https://en.wikipedia.org/w/index.php?title=Template_talk:Infobox_musical_artist&oldid=849054481 -- remove when [[:phab:T191516]] is fixed or OBE s = mw.ustring.gsub(s, '([\r\n][%*#;:][^\r\n]*)$', '%1\n') s = mw.ustring.gsub(s, '^([%*#;:][^\r\n]*)$', '%1\n') s = mw.ustring.gsub(s, '^([%*#;:])', '\n%1') s = mw.ustring.gsub(s, '^(%{%|)', '\n%1') return s else return sval end end local function union(t1, t2) -- Returns the union of the values of two tables, as a sequence. local vals = {} for k, v in pairs(t1) do vals[v] = true end for k, v in pairs(t2) do vals[v] = true end local ret = {} for k, v in pairs(vals) do table.insert(ret, k) end return ret end local function getArgNums(prefix) -- Returns a table containing the numbers of the arguments that exist -- for the specified prefix. For example, if the prefix was 'data', and -- 'data1', 'data2', and 'data5' exist, it would return {1, 2, 5}. local nums = {} for k, v in pairs(args) do local num = tostring(k):match('^' .. prefix .. '([1-9]%d*)$') if num then table.insert(nums, tonumber(num)) end end table.sort(nums) return nums end local function addRow(rowArgs) -- Adds a row to the infobox, with either a header cell -- or a label/data cell combination. if rowArgs.header and rowArgs.header ~= '_BLANK_' then root :tag('tr') :addClass(rowArgs.rowclass) :cssText(rowArgs.rowstyle) :attr('id', rowArgs.rowid) :tag('th') :attr('colspan', 2) :attr('id', rowArgs.headerid) :addClass(rowArgs.class) :addClass(args.headerclass) :css('text-align', 'center') :cssText(args.headerstyle) :cssText(rowArgs.rowcellstyle) :wikitext(fixChildBoxes(rowArgs.header, 'th')) elseif rowArgs.data then if not rowArgs.data:gsub('%[%[%s*[Cc][Aa][Tt][Ee][Gg][Oo][Rr][Yy]%s*:[^]]*]]', ''):match('^%S') then rowArgs.rowstyle = 'display:none' end local row = root:tag('tr') row:addClass(rowArgs.rowclass) row:cssText(rowArgs.rowstyle) row:attr('id', rowArgs.rowid) if rowArgs.label then row :tag('th') :attr('scope', 'row') :attr('id', rowArgs.labelid) :cssText(args.labelstyle) :cssText(rowArgs.rowcellstyle) :wikitext(rowArgs.label) :done() end local dataCell = row:tag('td') if not rowArgs.label then dataCell :attr('colspan', 2) :css('text-align', 'center') end dataCell :attr('id', rowArgs.dataid) :addClass(rowArgs.class) :cssText(rowArgs.datastyle) :cssText(rowArgs.rowcellstyle) :wikitext(fixChildBoxes(rowArgs.data, 'td')) end end local function renderTitle() if not args.title then return end root :tag('caption') :addClass(args.titleclass) :cssText(args.titlestyle) :wikitext(args.title) end local function renderAboveRow() if not args.above then return end root :tag('tr') :tag('th') :attr('colspan', 2) :addClass(args.aboveclass) :css('text-align', 'center') :css('font-size', '125%') :css('font-weight', 'bold') :cssText(args.abovestyle) :wikitext(fixChildBoxes(args.above,'th')) end local function renderBelowRow() if not args.below then return end root :tag('tr') :tag('td') :attr('colspan', '2') :addClass(args.belowclass) :css('text-align', 'center') :cssText(args.belowstyle) :wikitext(fixChildBoxes(args.below,'td')) end local function renderSubheaders() if args.subheader then args.subheader1 = args.subheader end if args.subheaderrowclass then args.subheaderrowclass1 = args.subheaderrowclass end local subheadernums = getArgNums('subheader') for k, num in ipairs(subheadernums) do addRow({ data = args['subheader' .. tostring(num)], datastyle = args.subheaderstyle, rowcellstyle = args['subheaderstyle' .. tostring(num)], class = args.subheaderclass, rowclass = args['subheaderrowclass' .. tostring(num)] }) end end local function renderImages() if args.image then args.image1 = args.image end if args.caption then args.caption1 = args.caption end local imagenums = getArgNums('image') for k, num in ipairs(imagenums) do local caption = args['caption' .. tostring(num)] local data = mw.html.create():wikitext(args['image' .. tostring(num)]) if caption then data :tag('div') :cssText(args.captionstyle) :wikitext(caption) end addRow({ data = tostring(data), datastyle = args.imagestyle, class = args.imageclass, rowclass = args['imagerowclass' .. tostring(num)] }) end end local function preprocessRows() -- Gets the union of the header and data argument numbers, -- and renders them all in order using addRow. local rownums = union(getArgNums('header'), getArgNums('data')) table.sort(rownums) local lastheader for k, num in ipairs(rownums) do if args['header' .. tostring(num)] then if lastheader then args['header' .. tostring(lastheader)] = nil end lastheader = num elseif args['data' .. tostring(num)] and args['data' .. tostring(num)]:gsub('%[%[%s*[Cc][Aa][Tt][Ee][Gg][Oo][Rr][Yy]%s*:[^]]*]]', ''):match('^%S') then local data = args['data' .. tostring(num)] if data:gsub('%[%[%s*[Cc][Aa][Tt][Ee][Gg][Oo][Rr][Yy]%s*:[^]]*]]', ''):match('%S') then lastheader = nil end end end if lastheader then args['header' .. tostring(lastheader)] = nil end end local function renderRows() -- Gets the union of the header and data argument numbers, -- and renders them all in order using addRow. local rownums = union(getArgNums('header'), getArgNums('data')) table.sort(rownums) for k, num in ipairs(rownums) do addRow({ header = args['header' .. tostring(num)], label = args['label' .. tostring(num)], data = args['data' .. tostring(num)], datastyle = args.datastyle, class = args['class' .. tostring(num)], rowclass = args['rowclass' .. tostring(num)], rowstyle = args['rowstyle' .. tostring(num)], rowcellstyle = args['rowcellstyle' .. tostring(num)], dataid = args['dataid' .. tostring(num)], labelid = args['labelid' .. tostring(num)], headerid = args['headerid' .. tostring(num)], rowid = args['rowid' .. tostring(num)] }) end end local function _infobox() -- Specify the overall layout of the infobox, with special settings -- if the infobox is used as a 'child' inside another infobox. if args.child ~= 'yes' then root = mw.html.create('table') root :addClass((args.subbox ~= 'yes') and 'infobox' or nil) :addClass(args.bodyclass) if args.subbox == 'yes' then root :css('padding', '0') :css('border', 'none') :css('margin', '-3px') :css('width', 'auto') :css('min-width', '100%') :css('font-size', '100%') :css('clear', 'none') :css('float', 'none') :css('background-color', 'transparent') else root :css('width', '22em') end root :cssText(args.bodystyle) renderTitle() renderAboveRow() else root = mw.html.create() root :wikitext(args.title) end renderSubheaders() renderImages() if args.autoheaders then preprocessRows() end renderRows() renderBelowRow() return tostring(root) end local function preprocessSingleArg(argName) -- If the argument exists and isn't blank, add it to the argument table. -- Blank arguments are treated as nil to match the behaviour of ParserFunctions. if origArgs[argName] and origArgs[argName] ~= '' then args[argName] = origArgs[argName] end end local function preprocessArgs(prefixTable, step) -- Assign the parameters with the given prefixes to the args table, in order, in batches -- of the step size specified. This is to prevent references etc. from appearing in the -- wrong order. The prefixTable should be an array containing tables, each of which has -- two possible fields, a "prefix" string and a "depend" table. The function always parses -- parameters containing the "prefix" string, but only parses parameters in the "depend" -- table if the prefix parameter is present and non-blank. if type(prefixTable) ~= 'table' then error("Non-table value detected for the prefix table", 2) end if type(step) ~= 'number' then error("Invalid step value detected", 2) end -- Get arguments without a number suffix, and check for bad input. for i,v in ipairs(prefixTable) do if type(v) ~= 'table' or type(v.prefix) ~= "string" or (v.depend and type(v.depend) ~= 'table') then error('Invalid input detected to preprocessArgs prefix table', 2) end preprocessSingleArg(v.prefix) -- Only parse the depend parameter if the prefix parameter is present and not blank. if args[v.prefix] and v.depend then for j, dependValue in ipairs(v.depend) do if type(dependValue) ~= 'string' then error('Invalid "depend" parameter value detected in preprocessArgs') end preprocessSingleArg(dependValue) end end end -- Get arguments with number suffixes. local a = 1 -- Counter variable. local moreArgumentsExist = true while moreArgumentsExist == true do moreArgumentsExist = false for i = a, a + step - 1 do for j,v in ipairs(prefixTable) do local prefixArgName = v.prefix .. tostring(i) if origArgs[prefixArgName] then moreArgumentsExist = true -- Do another loop if any arguments are found, even blank ones. preprocessSingleArg(prefixArgName) end -- Process the depend table if the prefix argument is present and not blank, or -- we are processing "prefix1" and "prefix" is present and not blank, and -- if the depend table is present. if v.depend and (args[prefixArgName] or (i == 1 and args[v.prefix])) then for j,dependValue in ipairs(v.depend) do local dependArgName = dependValue .. tostring(i) preprocessSingleArg(dependArgName) end end end end a = a + step end end local function parseDataParameters() -- Parse the data parameters in the same order that the old {{infobox}} did, so that -- references etc. will display in the expected places. Parameters that depend on -- another parameter are only processed if that parameter is present, to avoid -- phantom references appearing in article reference lists. preprocessSingleArg('autoheaders') preprocessSingleArg('child') preprocessSingleArg('bodyclass') preprocessSingleArg('subbox') preprocessSingleArg('bodystyle') preprocessSingleArg('title') preprocessSingleArg('titleclass') preprocessSingleArg('titlestyle') preprocessSingleArg('above') preprocessSingleArg('aboveclass') preprocessSingleArg('abovestyle') preprocessArgs({ {prefix = 'subheader', depend = {'subheaderstyle', 'subheaderrowclass'}} }, 10) preprocessSingleArg('subheaderstyle') preprocessSingleArg('subheaderclass') preprocessArgs({ {prefix = 'image', depend = {'caption', 'imagerowclass'}} }, 10) preprocessSingleArg('captionstyle') preprocessSingleArg('imagestyle') preprocessSingleArg('imageclass') preprocessArgs({ {prefix = 'header'}, {prefix = 'data', depend = {'label'}}, {prefix = 'rowclass'}, {prefix = 'rowstyle'}, {prefix = 'rowcellstyle'}, {prefix = 'class'}, {prefix = 'dataid'}, {prefix = 'labelid'}, {prefix = 'headerid'}, {prefix = 'rowid'} }, 50) preprocessSingleArg('headerclass') preprocessSingleArg('headerstyle') preprocessSingleArg('labelstyle') preprocessSingleArg('datastyle') preprocessSingleArg('below') preprocessSingleArg('belowclass') preprocessSingleArg('belowstyle') preprocessSingleArg('name') preprocessSingleArg('decat') end function p.infobox(frame) -- If called via #invoke, use the args passed into the invoking template. -- Otherwise, for testing purposes, assume args are being passed directly in. if frame == mw.getCurrentFrame() then origArgs = frame:getParent().args else origArgs = frame end parseDataParameters() return _infobox() end function p.infoboxTemplate(frame) -- For calling via #invoke within a template origArgs = {} for k,v in pairs(frame.args) do origArgs[k] = mw.text.trim(v) end parseDataParameters() return _infobox() end return p 77c36bd0082b84d380e58f5e3e5d66508688aba8 Template:Clear 10 11 13 2024-04-11T22:41:44Z Rodejong 6 <div style="clear:both;"></div> wikitext text/x-wiki <div style="clear:both;"></div> 4b77d6ddcf09378cf4e7d9b70b8c921bdfa95a0d Template:Infobox/doc 10 12 14 2024-04-11T22:43:56Z Rodejong 6 https://dev.miraheze.org/wiki/Template:Infobox/doc?oldid=22754 wikitext text/x-wiki {{dependencies|Module:Infobox}} You may want to use [[Template:SimpleInfobox]] instead, which has less features, but is easier to import to a new wiki. This template is intended as a meta template: a template used for constructing other templates. '''Note''': In general, it is not meant for use directly in an article, but can be used on a one-off basis if required. [[w:Help:Infobox]] contains an introduction about the recommended content and design of infoboxes. == Usage == Usage is similar to [[:Template:navbox]], but with an additional distinction. Each row on the table can contain either a header, or a label/data pair, or just a data cell. These are mutually exclusive states so if you define a row with both a header and a label/data pair, the label/data pair is ignored. To insert an image somewhere other than at the top of the infobox, or to insert freeform data, use a row with only a data field. == Optional control parameters == ; name : If this parameter is present, "view/talk/edit" links will be added to the bottom of the infobox, pointing to the named page. You may use the value <nowiki>{{subst:PAGENAME}}</nowiki>; however this is rarely what you want, because it will send users clicking these links in an infobox in an article to the template code rather than the data in the infobox that they probably want to change. ; child : See the [[#Embedding|Embedding]] section for details. If this is set to "yes", this child infobox should be titled but have no name parameter. This parameter is empty by default, set it to "yes" to activate it. ; subbox : See the [[#Subboxes|Subboxes]] section for details. If this is set to "yes", this subbox should be titled but have no name parameter. This parameter is empty by default, set to "yes" to activate it. It has no effect if the '''child''' parameter is also set to "yes". ; decat : If this is set to "yes", the current page will not be autocategorized in a maintenance category when the generated infobox has some problems or no visible data section. Leave empty by default or set to "yes" to activate it. == Content parameters == === Title === There are two different ways to put a title on an infobox. One contains the title inside the infobox's border in the uppermost cell of the table, the other puts as a caption it on top of the table. You can use both of them together if you like, or just one or the other, or even neither (though this is not recommended): ; title : Text to put in the caption over the top of the table (or as section header before the whole content of this table, if this is a child infobox). For accessibility reasons, this is the most recommended alternative. ; above : Text to put within the uppermost cell of the table. ; subheader(n) : additional title fields which fit below {{{title}}} and {{{above}}}, but before images. Examples: {{Infobox | name = Infobox/doc | title = Text in caption over infobox | subheader = Subheader of the infobox | header = (the rest of the infobox goes here) }} <pre style="overflow:auto"> {{Infobox | name = {{subst:PAGENAME}} | title = Text in caption over infobox | subheader = Subheader of the infobox | header = (the rest of the infobox goes here) }} </pre>{{clear}} {{Infobox | name = Infobox/doc | above = Text in uppermost cell of infobox | subheader = Subheader of the infobox | subheader2 = Second subheader of the infobox | header = (the rest of the infobox goes here) }} <pre style="overflow:auto"> {{Infobox | name = {{subst:PAGENAME}} | above = Text in uppermost cell of infobox | subheader = Subheader of the infobox | subheader2 = Second subheader of the infobox | header = (the rest of the infobox goes here) }} </pre>{{clear}} === Illustration images === ; image(n) : images to display at the top of the template. Use full image syntax, for example <nowiki>[[File:example.png|200px|alt=Example alt text]]</nowiki>. Image is centered by default. ; caption(n) : Text to put underneath the images. === Main data === ; header(n) : Text to use as a header in row n. ; label(n) : Text to use as a label in row n. ; data(n) : Text to display as data in row n. Note: for any given value for (n), not all combinations of parameters are permitted. The presence of a header''(n)'' parameter will cause the corresponding data''(n)'' (and rowclass''(n)'' label''(n)'', see below) parameters to be ignored; the absence of a data''(n)'' parameters will cause the corresponding label''(n)'' parameters to be ignored. Valid combinations for any single row are: * |class''(n)''= |header''(n)''= * |rowclass''(n)'= |class''(n)''= |data''(n)''= * |rowclass''(n)''= |label''(n)''= |class''(n)''= data''(n)''= See the rendering of header4, label4, and data4 in the [[#Examples|Examples]] section below. ==== Number ranges ==== To allow flexibility when the layout of an infobox is changed, it may be helpful when developing an infobox to use non-contiguous numbers for header and label/data rows. Parameters for new rows can then be inserted in future without having to renumber existing parameters. For example: <pre style="overflow:auto"> | header3 = Section 1 | label5 = Label A | data5 = Data A | label7 = Label C | data7 = Data C | header10 = Section 2 | label12 = Label D | data12 = Data D </pre>{{clear}} ==== Making data fields optional ==== A row with a label but no data is not displayed. This allows for the easy creation of optional infobox content rows. To make a row optional use a parameter that defaults to an empty string, like so: <pre style="overflow:auto"> | label5 = Population | data5 = {{{population|}}} </pre>{{clear}} This way if an article doesn't define the population parameter in its infobox the row won't be displayed. For more complex fields with pre-formatted contents that would still be present even if the parameter wasn't set, you can wrap it all in an "#if" statement to make the whole thing vanish when the parameter is not used. For instance, the "#if" statement in the following example reads "#if:the parameter ''mass'' has been supplied |then display it, followed by 'kg'": <pre style="overflow:auto"> | label6 = Mass | data6 = {{ #if: {{{mass|}}} | {{{mass}}} kg }} </pre>{{clear}} For more on #if, see [[mw:Help:Extension:ParserFunctions##if|here]]. ==== Hiding headers when all data fields are hidden ==== You can also make headers optional in a similar way. Consider this example: {{Infobox | title = Example of an undesirable header | header1 = Undesirable header | label2 = Item 1 | data2 = | label3 = Item 2 | data3 = | label4 = Item 3 | data4 = | header5 = Static header | label6 = Static item | data6 = Static value }} <pre style="overflow:auto"> {{Infobox | title = Example of an undesirable header | header1 = Undesirable header | label2 = Item 1 | data2 = | label3 = Item 2 | data3 = | label4 = Item 3 | data4 = | header5 = Static header | label6 = Static item | data6 = Static value }} </pre>{{clear}} If you want the first header to appear only if one or more of the data fields that fall under it are filled, one could use the following pattern as an example of how to do it: {{Infobox | title = Example of an optional header | header1 = {{ #if: {{{item1|}}}{{{item2|}}}{{{item3|}}} | Optional header }} | label2 = Item 1 | data2 = {{{item1|}}} | label3 = Item 2 | data3 = {{{item2|}}} | label4 = Item 3 | data4 = {{{item3|}}} | header5 = Static header | label6 = Static item | data6 = Static value }} <pre style="overflow:auto"> {{Infobox | title = Example of an optional header | header1 = {{ #if: {{{item1|}}}{{{item2|}}}{{{item3|}}} | Optional header }} | label2 = Item 1 | data2 = {{{item1|}}} | label3 = Item 2 | data3 = {{{item2|}}} | label4 = Item 3 | data4 = {{{item3|}}} | header5 = Static header | label6 = Static item | data6 = Static value }} </pre>{{clear}} header1 will be shown if any of item1, item2, or item3 is defined. If none of the three parameters are defined the header won't be shown and no empty row appears before the next static content. The trick to this is that the "#if" returns false only if there is nothing whatsoever in the conditional section, so only if all three of item1, item2 and item3 are undefined will the if statement fail. Note that such trick may be sometimes very complex to test if there are many data items whose value depends on complex tests (or when a data row is generated by a recursive invocation of this template as a [[#Subboxes|subbox]]). Ideally, the Lua module supporting this template should now support a new way to make each header row autohideable by detecting if there is at least one non-empty data row after that header row (a parameter like "autohide header1 = yes", for example, would remove the need to perform the "#if" test so that we can just to define "header1 = Optional header"), === Footer === ; below : Text to put in the bottom cell. The bottom cell is intended for footnotes, see-also, and other such information. == Presentation parameters == === CSS styling === ; bodystyle : Applies to the infobox table as a whole ; titlestyle : Applies only to the title caption. Adding a background color is usually inadvisable since the text is rendered "outside" the infobox. ; abovestyle : Applies only to the "above" cell at the top. The default style has font-size:125%; since this cell is usually used for a title, if you want to use the above cell for regular-sized text include "font-size:100%;" in the abovestyle. ; imagestyle : Applies to the cell the image is in. This includes the text of the image caption, but you should set text properties with captionstyle instead of imagestyle in case the caption is moved out of this cell in the future. ; captionstyle : Applies to the text of the image caption. ; rowstyle(n) : This parameter is inserted into the <code>style</code> attribute for the specified row. ; headerstyle : Applies to all header cells ; labelstyle : Applies to all label cells ; datastyle : Applies to all data cells ; belowstyle : Applies only to the below cell === HTML classes and microformats === ; bodyclass : This parameter is inserted into the <code>class</code> attribute for the infobox as a whole. ; titleclass : This parameter is inserted into the <code>class</code> attribute for the infobox's '''title''' caption. <!-- currently not implemented in Lua module ; aboverowclass : This parameter is inserted into the <code>class</code> attribute for the complete table row the '''above''' cell is on. --> ; aboveclass : This parameter is inserted into the <code>class</code> attribute for the infobox's '''above''' cell. ; subheaderrowclass(n) : This parameter is inserted into the <code>class</code> attribute for the complete table row the '''subheader''' is on. ; subheaderclass(n) : This parameter is inserted into the <code>class</code> attribute for the infobox's '''subheader'''. ; imagerowclass(n) : These parameters are inserted into the <code>class</code> attribute for the complete table row their respective '''image''' is on. ; imageclass : This parameter is inserted into the <code>class</code> attribute for the '''image'''. ; rowclass(n) : This parameter is inserted into the <code>class</code> attribute for the specified row including the '''label''' and '''data''' cells. ; class(n) : This parameter is inserted into the <code>class</code> attribute for the '''data''' cell of the specified row. If there's no '''data''' cell it has no effect. <!-- currently not implemented in Lua module ; belowrowclass : This parameter is inserted into the <code>class</code> attribute for the complete table row the '''below''' cell is on. --> ; belowclass : This parameter is inserted into the <code>class</code> attribute for the infobox's '''below''' cell. This template supports the addition of microformat information. This is done by adding "class" attributes to various data cells, indicating what kind of information is contained within. Multiple class names may be specified, separated by spaces, some of them being used as selectors for custom styling according to a project policy or to the skin selected in user preferences, others beig used for microformats. To flag an infobox as containing [[w:hCard|hCard]] information, for example, add the following parameter: <pre style="overflow:auto"> | bodyclass = vcard </pre>{{clear}} And for each row containing a data cell that's part of the vcard, add a corresponding class parameter: <pre style="overflow:auto"> | class1 = fn | class2 = org | class3 = tel </pre>{{clear}} ...and so forth. "above" and "title" can also be given classes, since these are usually used to display the name of the subject of the infobox. See [[w:microformat]] for more information on microformats in general. == Examples == Notice how the row doesn't appear in the displayed infobox when a '''label''' is defined without an accompanying '''data''' cell, and how all of them are displayed when a '''header''' is defined on the same row as a '''data''' cell. Also notice that '''subheaders''' are not bold by default like the '''headers''' used to split the main data section, because this role is meant to be for the '''above''' cell : {{Infobox |name = Infobox/doc |bodystyle = |titlestyle = |abovestyle = background:#cfc; |subheaderstyle = |title = Test Infobox |above = Above text |subheader = Subheader above image |subheader2 = Second subheader |imagestyle = |captionstyle = |image = [[File:Example-serious.jpg|200px|alt=Example alt text]] |caption = Caption displayed below File:Example-serious.jpg |headerstyle = background:#ccf; |labelstyle = background:#ddf; |datastyle = |header1 = Header defined alone | label1 = | data1 = |header2 = | label2 = Label defined alone does not display (needs data, or is suppressed) | data2 = |header3 = | label3 = | data3 = Data defined alone |header4 = All three defined (header, label, data, all with same number) | label4 = does not display (same number as a header) | data4 = does not display (same number as a header) |header5 = | label5 = Label and data defined (label) | data5 = Label and data defined (data) |belowstyle = background:#ddf; |below = Below text }} <pre style="overflow:auto"> {{Infobox |name = {{subst:PAGENAME}} |bodystyle = |titlestyle = |abovestyle = background:#cfc; |subheaderstyle = |title = Test Infobox |above = Above text |subheader = Subheader above image |subheader2 = Second subheader |imagestyle = |captionstyle = | image = [[File:Example-serious.jpg|200px|alt=Example alt text]] |caption = Caption displayed below Example-serious.jpg |headerstyle = background:#ccf; |labelstyle = background:#ddf; |datastyle = |header1 = Header defined alone | label1 = | data1 = |header2 = | label2 = Label defined alone does not display (needs data, or is suppressed) | data2 = |header3 = | label3 = | data3 = Data defined alone |header4 = All three defined (header, label, data, all with same number) | label4 = does not display (same number as a header) | data4 = does not display (same number as a header) |header5 = | label5 = Label and data defined (label) | data5 = Label and data defined (data) |belowstyle = background:#ddf; |below = Below text }} </pre>{{clear}} For this example, the '''bodystyle''' and '''labelstyle''' parameters are used to adjust the infobox width and define a default width for the column of labels: {{Infobox |name = Infobox/doc |bodystyle = width:20em |titlestyle = |title = Test Infobox |headerstyle = |labelstyle = width:33% |datastyle = |header1 = | label1 = Label 1 | data1 = Data 1 |header2 = | label2 = Label 2 | data2 = Data 2 |header3 = | label3 = Label 3 | data3 = Data 3 |header4 = Header 4 | label4 = | data4 = |header5 = | label5 = Label 5 | data5 = Data 5: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. |belowstyle = |below = Below text }} <pre style="overflow: auto"> {{Infobox |name = {{subst:PAGENAME}} |bodystyle = width:20em |titlestyle = |title = Test Infobox |headerstyle = |labelstyle = width:33% |datastyle = |header1 = | label1 = Label 1 | data1 = Data 1 |header2 = | label2 = Label 2 | data2 = Data 2 |header3 = | label3 = Label 3 | data3 = Data 3 |header4 = Header 4 | label4 = | data4 = |header5 = | label5 = Label 5 | data5 = Data 5: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. |belowstyle = |below = Below text }} </pre>{{clear}} == Embedding == One infobox template can be embedded into another using the |child= parameter or the |embed= parameter. This feature can be used to create a modular infobox, or to create better-defined logical sections. Long ago, it was necessary to use embedding in order to create infoboxes with more than 99 rows; but nowadays there's no limit to the number of rows that can be defined in a single instance of <code><nowiki>{{infobox}}</nowiki></code>. {{Infobox | title = Top level title | data1 = {{Infobox | decat = yes | child = yes | title = First subsection | label1= Label 1.1 | data1 = Data 1.1 }} | data2 = {{Infobox | decat = yes | child = yes |title = Second subsection | label1= Label 2.1 | data1 = Data 2.1 }} | belowstyle = | below = Below text }} <pre style="overflow:auto"> {{Infobox | title = Top level title | data1 = {{Infobox | decat = yes | child = yes | title = First subsection | label1= Label 1.1 | data1 = Data 1.1 }} | data2 = {{Infobox | decat = yes | child = yes |title = Second subsection | label1= Label 2.1 | data1 = Data 2.1 }} | belowstyle = | below = Below text }} </pre>{{clear}} Note, in the examples above, the child infobox is placed in a <code>data</code> field, not a <code>header</code> field. Notice that the section subheadings are not in bold font if bolding is not explicitly specified. To obtain bold section headings, place the child infobox in a '''header''' field (but not in a '''label''' field because it would not be displayed!), either using {{Infobox | title = Top level title | header1 = {{Infobox | decat = yes | child = yes | title = First subsection | label1= Label 1.1 | data1 = Data 1.1 }} | header2 = {{Infobox | decat = yes | child = yes | title = Second subsection | label1= Label 2.1 | data1 = Data 2.1 }} | belowstyle = | below = Below text }} <pre style="overflow:auto"> {{Infobox | title = Top level title | header1 = {{Infobox | decat = yes | child = yes | title = First subsection | label1= Label 1.1 | data1 = Data 1.1 }} | header2 = {{Infobox | decat = yes | child = yes | title = Second subsection | label1= Label 2.1 | data1 = Data 2.1 }} | belowstyle = | below = Below text }} </pre>{{clear}} or, {{Infobox | title = Top level title | header1 = First subsection {{Infobox | decat = yes | child = yes | label1 = Label 1.1 | data1 = Data 1.1 }} | header2 = Second subsection {{Infobox | decat = yes | child = yes | label1 = Label 2.1 | data1 = Data 2.1 }} | belowstyle = | below = Below text }} <pre style="overflow:auto"> {{Infobox | title = Top level title | header1 = First subsection {{Infobox | decat = yes | child = yes | label1 = Label 1.1 | data1 = Data 1.1 }} | header2 = Second subsection {{Infobox | decat = yes | child = yes | label1 = Label 2.1 | data1 = Data 2.1 }} | belowstyle = | below = Below text }} </pre>{{clear}} Note that omitting the |title= parameter, and not including any text preceding the embedded infobox, may result in spurious blank table rows, creating gaps in the visual presentation. == Subboxes == An alternative method for embedding is to use |subbox=yes, which removes the outer border from the infobox, but preserves the interior structure. One feature of this approach is that the parent and child boxes need not have the same structure, and the label and data fields are not aligned between the parent and child boxes because they are not in the same parent table. {{Infobox | headerstyle = background-color:#eee; | labelstyle = background-color:#eee; | header1 = Main 1 | header2 = Main 2 | data3 = {{Infobox | subbox = yes | headerstyle = background-color:#ccc; | labelstyle = background-color:#ddd; | header1 = Sub 3-1 | header2 = Sub 3-2 | label3 = Label 3-3 | data3 = Data 3-3 }} | data4 = {{Infobox | subbox = yes | labelstyle = background-color:#ccc; | label1 = Label 4-1 | data1 = Data 4-1 }} | label5 = Label 5 | data5 = Data 5 | header6 = Main 6 }} <source lang="sass" style="overflow:auto"> {{Infobox | headerstyle = background-color:#eee; | labelstyle = background-color:#eee; | header1 = Main 1 | header2 = Main 2 | data3 = {{Infobox | subbox = yes | headerstyle = background-color:#ccc; | labelstyle = background-color:#ddd; | header1 = Sub 3-1 | header2 = Sub 3-2 | label3 = Label 3-3 | data3 = Data 3-3 }} | data4 = {{Infobox | subbox = yes | labelstyle = background-color:#ccc; | label1 = Label 4-1 | data1 = Data 4-1 }} | label5 = Label 5 | data5 = Data 5 | header6 = Main 6 }} </source>{{clear}} Note that the default padding of the parent data cell containing each subbox is still visible, so the subboxes are slightly narrower than the parent box and there's a higher vertical spacing between standard cells of the parent box than between cells of distinct subboxes. == Full blank syntax == (Note: there is no limit to the number of possible rows; only 20 are given below since infoboxes larger than that will be relatively rare. Just extend the numbering as needed. The microformat "class" parameters are also omitted as they are not commonly used.) <pre style="overflow:auto"> {{Infobox | name = {{subst:PAGENAME}} | child = {{{child|}}} | subbox = {{{subbox|}}} | bodystyle = | titlestyle = | abovestyle = | subheaderstyle = | title = | above = | subheader = | imagestyle = | captionstyle = | image = | caption = | image2 = | caption2 = | headerstyle = | labelstyle = | datastyle = | header1 = | label1 = | data1 = | header2 = | label2 = | data2 = | header3 = | label3 = | data3 = | header4 = | label4 = | data4 = | header5 = | label5 = | data5 = | header6 = | label6 = | data6 = | header7 = | label7 = | data7 = | header8 = | label8 = | data8 = | header9 = | label9 = | data9 = | header10 = | label10 = | data10 = | header11 = | label11 = | data11 = | header12 = | label12 = | data12 = | header13 = | label13 = | data13 = | header14 = | label14 = | data14 = | header15 = | label15 = | data15 = | header16 = | label16 = | data16 = | header17 = | label17 = | data17 = | header18 = | label18 = | data18 = | header19 = | label19 = | data19 = | header20 = | label20 = | data20 = | belowstyle = | below = }} </pre>{{clear}} ==See also== * [[Module:Infobox]], the [[mw:Lua/Overview|Lua]] module on which this template is based <includeonly> [[Category:Infobox templates]] </includeonly> b678aac1dcfa68b4ef5d4e7c9cae3b244b1eec42 15 14 2024-04-11T22:44:37Z Rodejong 6 + wikitext text/x-wiki {{dependencies|Module:Infobox}} This template is intended as a meta template: a template used for constructing other templates. '''Note''': In general, it is not meant for use directly in an article, but can be used on a one-off basis if required. [[w:Help:Infobox]] contains an introduction about the recommended content and design of infoboxes. == Usage == Usage is similar to [[:Template:navbox]], but with an additional distinction. Each row on the table can contain either a header, or a label/data pair, or just a data cell. These are mutually exclusive states so if you define a row with both a header and a label/data pair, the label/data pair is ignored. To insert an image somewhere other than at the top of the infobox, or to insert freeform data, use a row with only a data field. == Optional control parameters == ; name : If this parameter is present, "view/talk/edit" links will be added to the bottom of the infobox, pointing to the named page. You may use the value <nowiki>{{subst:PAGENAME}}</nowiki>; however this is rarely what you want, because it will send users clicking these links in an infobox in an article to the template code rather than the data in the infobox that they probably want to change. ; child : See the [[#Embedding|Embedding]] section for details. If this is set to "yes", this child infobox should be titled but have no name parameter. This parameter is empty by default, set it to "yes" to activate it. ; subbox : See the [[#Subboxes|Subboxes]] section for details. If this is set to "yes", this subbox should be titled but have no name parameter. This parameter is empty by default, set to "yes" to activate it. It has no effect if the '''child''' parameter is also set to "yes". ; decat : If this is set to "yes", the current page will not be autocategorized in a maintenance category when the generated infobox has some problems or no visible data section. Leave empty by default or set to "yes" to activate it. == Content parameters == === Title === There are two different ways to put a title on an infobox. One contains the title inside the infobox's border in the uppermost cell of the table, the other puts as a caption it on top of the table. You can use both of them together if you like, or just one or the other, or even neither (though this is not recommended): ; title : Text to put in the caption over the top of the table (or as section header before the whole content of this table, if this is a child infobox). For accessibility reasons, this is the most recommended alternative. ; above : Text to put within the uppermost cell of the table. ; subheader(n) : additional title fields which fit below {{{title}}} and {{{above}}}, but before images. Examples: {{Infobox | name = Infobox/doc | title = Text in caption over infobox | subheader = Subheader of the infobox | header = (the rest of the infobox goes here) }} <pre style="overflow:auto"> {{Infobox | name = {{subst:PAGENAME}} | title = Text in caption over infobox | subheader = Subheader of the infobox | header = (the rest of the infobox goes here) }} </pre>{{clear}} {{Infobox | name = Infobox/doc | above = Text in uppermost cell of infobox | subheader = Subheader of the infobox | subheader2 = Second subheader of the infobox | header = (the rest of the infobox goes here) }} <pre style="overflow:auto"> {{Infobox | name = {{subst:PAGENAME}} | above = Text in uppermost cell of infobox | subheader = Subheader of the infobox | subheader2 = Second subheader of the infobox | header = (the rest of the infobox goes here) }} </pre>{{clear}} === Illustration images === ; image(n) : images to display at the top of the template. Use full image syntax, for example <nowiki>[[File:example.png|200px|alt=Example alt text]]</nowiki>. Image is centered by default. ; caption(n) : Text to put underneath the images. === Main data === ; header(n) : Text to use as a header in row n. ; label(n) : Text to use as a label in row n. ; data(n) : Text to display as data in row n. Note: for any given value for (n), not all combinations of parameters are permitted. The presence of a header''(n)'' parameter will cause the corresponding data''(n)'' (and rowclass''(n)'' label''(n)'', see below) parameters to be ignored; the absence of a data''(n)'' parameters will cause the corresponding label''(n)'' parameters to be ignored. Valid combinations for any single row are: * |class''(n)''= |header''(n)''= * |rowclass''(n)'= |class''(n)''= |data''(n)''= * |rowclass''(n)''= |label''(n)''= |class''(n)''= data''(n)''= See the rendering of header4, label4, and data4 in the [[#Examples|Examples]] section below. ==== Number ranges ==== To allow flexibility when the layout of an infobox is changed, it may be helpful when developing an infobox to use non-contiguous numbers for header and label/data rows. Parameters for new rows can then be inserted in future without having to renumber existing parameters. For example: <pre style="overflow:auto"> | header3 = Section 1 | label5 = Label A | data5 = Data A | label7 = Label C | data7 = Data C | header10 = Section 2 | label12 = Label D | data12 = Data D </pre>{{clear}} ==== Making data fields optional ==== A row with a label but no data is not displayed. This allows for the easy creation of optional infobox content rows. To make a row optional use a parameter that defaults to an empty string, like so: <pre style="overflow:auto"> | label5 = Population | data5 = {{{population|}}} </pre>{{clear}} This way if an article doesn't define the population parameter in its infobox the row won't be displayed. For more complex fields with pre-formatted contents that would still be present even if the parameter wasn't set, you can wrap it all in an "#if" statement to make the whole thing vanish when the parameter is not used. For instance, the "#if" statement in the following example reads "#if:the parameter ''mass'' has been supplied |then display it, followed by 'kg'": <pre style="overflow:auto"> | label6 = Mass | data6 = {{ #if: {{{mass|}}} | {{{mass}}} kg }} </pre>{{clear}} For more on #if, see [[mw:Help:Extension:ParserFunctions##if|here]]. ==== Hiding headers when all data fields are hidden ==== You can also make headers optional in a similar way. Consider this example: {{Infobox | title = Example of an undesirable header | header1 = Undesirable header | label2 = Item 1 | data2 = | label3 = Item 2 | data3 = | label4 = Item 3 | data4 = | header5 = Static header | label6 = Static item | data6 = Static value }} <pre style="overflow:auto"> {{Infobox | title = Example of an undesirable header | header1 = Undesirable header | label2 = Item 1 | data2 = | label3 = Item 2 | data3 = | label4 = Item 3 | data4 = | header5 = Static header | label6 = Static item | data6 = Static value }} </pre>{{clear}} If you want the first header to appear only if one or more of the data fields that fall under it are filled, one could use the following pattern as an example of how to do it: {{Infobox | title = Example of an optional header | header1 = {{ #if: {{{item1|}}}{{{item2|}}}{{{item3|}}} | Optional header }} | label2 = Item 1 | data2 = {{{item1|}}} | label3 = Item 2 | data3 = {{{item2|}}} | label4 = Item 3 | data4 = {{{item3|}}} | header5 = Static header | label6 = Static item | data6 = Static value }} <pre style="overflow:auto"> {{Infobox | title = Example of an optional header | header1 = {{ #if: {{{item1|}}}{{{item2|}}}{{{item3|}}} | Optional header }} | label2 = Item 1 | data2 = {{{item1|}}} | label3 = Item 2 | data3 = {{{item2|}}} | label4 = Item 3 | data4 = {{{item3|}}} | header5 = Static header | label6 = Static item | data6 = Static value }} </pre>{{clear}} header1 will be shown if any of item1, item2, or item3 is defined. If none of the three parameters are defined the header won't be shown and no empty row appears before the next static content. The trick to this is that the "#if" returns false only if there is nothing whatsoever in the conditional section, so only if all three of item1, item2 and item3 are undefined will the if statement fail. Note that such trick may be sometimes very complex to test if there are many data items whose value depends on complex tests (or when a data row is generated by a recursive invocation of this template as a [[#Subboxes|subbox]]). Ideally, the Lua module supporting this template should now support a new way to make each header row autohideable by detecting if there is at least one non-empty data row after that header row (a parameter like "autohide header1 = yes", for example, would remove the need to perform the "#if" test so that we can just to define "header1 = Optional header"), === Footer === ; below : Text to put in the bottom cell. The bottom cell is intended for footnotes, see-also, and other such information. == Presentation parameters == === CSS styling === ; bodystyle : Applies to the infobox table as a whole ; titlestyle : Applies only to the title caption. Adding a background color is usually inadvisable since the text is rendered "outside" the infobox. ; abovestyle : Applies only to the "above" cell at the top. The default style has font-size:125%; since this cell is usually used for a title, if you want to use the above cell for regular-sized text include "font-size:100%;" in the abovestyle. ; imagestyle : Applies to the cell the image is in. This includes the text of the image caption, but you should set text properties with captionstyle instead of imagestyle in case the caption is moved out of this cell in the future. ; captionstyle : Applies to the text of the image caption. ; rowstyle(n) : This parameter is inserted into the <code>style</code> attribute for the specified row. ; headerstyle : Applies to all header cells ; labelstyle : Applies to all label cells ; datastyle : Applies to all data cells ; belowstyle : Applies only to the below cell === HTML classes and microformats === ; bodyclass : This parameter is inserted into the <code>class</code> attribute for the infobox as a whole. ; titleclass : This parameter is inserted into the <code>class</code> attribute for the infobox's '''title''' caption. <!-- currently not implemented in Lua module ; aboverowclass : This parameter is inserted into the <code>class</code> attribute for the complete table row the '''above''' cell is on. --> ; aboveclass : This parameter is inserted into the <code>class</code> attribute for the infobox's '''above''' cell. ; subheaderrowclass(n) : This parameter is inserted into the <code>class</code> attribute for the complete table row the '''subheader''' is on. ; subheaderclass(n) : This parameter is inserted into the <code>class</code> attribute for the infobox's '''subheader'''. ; imagerowclass(n) : These parameters are inserted into the <code>class</code> attribute for the complete table row their respective '''image''' is on. ; imageclass : This parameter is inserted into the <code>class</code> attribute for the '''image'''. ; rowclass(n) : This parameter is inserted into the <code>class</code> attribute for the specified row including the '''label''' and '''data''' cells. ; class(n) : This parameter is inserted into the <code>class</code> attribute for the '''data''' cell of the specified row. If there's no '''data''' cell it has no effect. <!-- currently not implemented in Lua module ; belowrowclass : This parameter is inserted into the <code>class</code> attribute for the complete table row the '''below''' cell is on. --> ; belowclass : This parameter is inserted into the <code>class</code> attribute for the infobox's '''below''' cell. This template supports the addition of microformat information. This is done by adding "class" attributes to various data cells, indicating what kind of information is contained within. Multiple class names may be specified, separated by spaces, some of them being used as selectors for custom styling according to a project policy or to the skin selected in user preferences, others beig used for microformats. To flag an infobox as containing [[w:hCard|hCard]] information, for example, add the following parameter: <pre style="overflow:auto"> | bodyclass = vcard </pre>{{clear}} And for each row containing a data cell that's part of the vcard, add a corresponding class parameter: <pre style="overflow:auto"> | class1 = fn | class2 = org | class3 = tel </pre>{{clear}} ...and so forth. "above" and "title" can also be given classes, since these are usually used to display the name of the subject of the infobox. See [[w:microformat]] for more information on microformats in general. == Examples == Notice how the row doesn't appear in the displayed infobox when a '''label''' is defined without an accompanying '''data''' cell, and how all of them are displayed when a '''header''' is defined on the same row as a '''data''' cell. Also notice that '''subheaders''' are not bold by default like the '''headers''' used to split the main data section, because this role is meant to be for the '''above''' cell : {{Infobox |name = Infobox/doc |bodystyle = |titlestyle = |abovestyle = background:#cfc; |subheaderstyle = |title = Test Infobox |above = Above text |subheader = Subheader above image |subheader2 = Second subheader |imagestyle = |captionstyle = |image = [[File:Example-serious.jpg|200px|alt=Example alt text]] |caption = Caption displayed below File:Example-serious.jpg |headerstyle = background:#ccf; |labelstyle = background:#ddf; |datastyle = |header1 = Header defined alone | label1 = | data1 = |header2 = | label2 = Label defined alone does not display (needs data, or is suppressed) | data2 = |header3 = | label3 = | data3 = Data defined alone |header4 = All three defined (header, label, data, all with same number) | label4 = does not display (same number as a header) | data4 = does not display (same number as a header) |header5 = | label5 = Label and data defined (label) | data5 = Label and data defined (data) |belowstyle = background:#ddf; |below = Below text }} <pre style="overflow:auto"> {{Infobox |name = {{subst:PAGENAME}} |bodystyle = |titlestyle = |abovestyle = background:#cfc; |subheaderstyle = |title = Test Infobox |above = Above text |subheader = Subheader above image |subheader2 = Second subheader |imagestyle = |captionstyle = | image = [[File:Example-serious.jpg|200px|alt=Example alt text]] |caption = Caption displayed below Example-serious.jpg |headerstyle = background:#ccf; |labelstyle = background:#ddf; |datastyle = |header1 = Header defined alone | label1 = | data1 = |header2 = | label2 = Label defined alone does not display (needs data, or is suppressed) | data2 = |header3 = | label3 = | data3 = Data defined alone |header4 = All three defined (header, label, data, all with same number) | label4 = does not display (same number as a header) | data4 = does not display (same number as a header) |header5 = | label5 = Label and data defined (label) | data5 = Label and data defined (data) |belowstyle = background:#ddf; |below = Below text }} </pre>{{clear}} For this example, the '''bodystyle''' and '''labelstyle''' parameters are used to adjust the infobox width and define a default width for the column of labels: {{Infobox |name = Infobox/doc |bodystyle = width:20em |titlestyle = |title = Test Infobox |headerstyle = |labelstyle = width:33% |datastyle = |header1 = | label1 = Label 1 | data1 = Data 1 |header2 = | label2 = Label 2 | data2 = Data 2 |header3 = | label3 = Label 3 | data3 = Data 3 |header4 = Header 4 | label4 = | data4 = |header5 = | label5 = Label 5 | data5 = Data 5: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. |belowstyle = |below = Below text }} <pre style="overflow: auto"> {{Infobox |name = {{subst:PAGENAME}} |bodystyle = width:20em |titlestyle = |title = Test Infobox |headerstyle = |labelstyle = width:33% |datastyle = |header1 = | label1 = Label 1 | data1 = Data 1 |header2 = | label2 = Label 2 | data2 = Data 2 |header3 = | label3 = Label 3 | data3 = Data 3 |header4 = Header 4 | label4 = | data4 = |header5 = | label5 = Label 5 | data5 = Data 5: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. |belowstyle = |below = Below text }} </pre>{{clear}} == Embedding == One infobox template can be embedded into another using the |child= parameter or the |embed= parameter. This feature can be used to create a modular infobox, or to create better-defined logical sections. Long ago, it was necessary to use embedding in order to create infoboxes with more than 99 rows; but nowadays there's no limit to the number of rows that can be defined in a single instance of <code><nowiki>{{infobox}}</nowiki></code>. {{Infobox | title = Top level title | data1 = {{Infobox | decat = yes | child = yes | title = First subsection | label1= Label 1.1 | data1 = Data 1.1 }} | data2 = {{Infobox | decat = yes | child = yes |title = Second subsection | label1= Label 2.1 | data1 = Data 2.1 }} | belowstyle = | below = Below text }} <pre style="overflow:auto"> {{Infobox | title = Top level title | data1 = {{Infobox | decat = yes | child = yes | title = First subsection | label1= Label 1.1 | data1 = Data 1.1 }} | data2 = {{Infobox | decat = yes | child = yes |title = Second subsection | label1= Label 2.1 | data1 = Data 2.1 }} | belowstyle = | below = Below text }} </pre>{{clear}} Note, in the examples above, the child infobox is placed in a <code>data</code> field, not a <code>header</code> field. Notice that the section subheadings are not in bold font if bolding is not explicitly specified. To obtain bold section headings, place the child infobox in a '''header''' field (but not in a '''label''' field because it would not be displayed!), either using {{Infobox | title = Top level title | header1 = {{Infobox | decat = yes | child = yes | title = First subsection | label1= Label 1.1 | data1 = Data 1.1 }} | header2 = {{Infobox | decat = yes | child = yes | title = Second subsection | label1= Label 2.1 | data1 = Data 2.1 }} | belowstyle = | below = Below text }} <pre style="overflow:auto"> {{Infobox | title = Top level title | header1 = {{Infobox | decat = yes | child = yes | title = First subsection | label1= Label 1.1 | data1 = Data 1.1 }} | header2 = {{Infobox | decat = yes | child = yes | title = Second subsection | label1= Label 2.1 | data1 = Data 2.1 }} | belowstyle = | below = Below text }} </pre>{{clear}} or, {{Infobox | title = Top level title | header1 = First subsection {{Infobox | decat = yes | child = yes | label1 = Label 1.1 | data1 = Data 1.1 }} | header2 = Second subsection {{Infobox | decat = yes | child = yes | label1 = Label 2.1 | data1 = Data 2.1 }} | belowstyle = | below = Below text }} <pre style="overflow:auto"> {{Infobox | title = Top level title | header1 = First subsection {{Infobox | decat = yes | child = yes | label1 = Label 1.1 | data1 = Data 1.1 }} | header2 = Second subsection {{Infobox | decat = yes | child = yes | label1 = Label 2.1 | data1 = Data 2.1 }} | belowstyle = | below = Below text }} </pre>{{clear}} Note that omitting the |title= parameter, and not including any text preceding the embedded infobox, may result in spurious blank table rows, creating gaps in the visual presentation. == Subboxes == An alternative method for embedding is to use |subbox=yes, which removes the outer border from the infobox, but preserves the interior structure. One feature of this approach is that the parent and child boxes need not have the same structure, and the label and data fields are not aligned between the parent and child boxes because they are not in the same parent table. {{Infobox | headerstyle = background-color:#eee; | labelstyle = background-color:#eee; | header1 = Main 1 | header2 = Main 2 | data3 = {{Infobox | subbox = yes | headerstyle = background-color:#ccc; | labelstyle = background-color:#ddd; | header1 = Sub 3-1 | header2 = Sub 3-2 | label3 = Label 3-3 | data3 = Data 3-3 }} | data4 = {{Infobox | subbox = yes | labelstyle = background-color:#ccc; | label1 = Label 4-1 | data1 = Data 4-1 }} | label5 = Label 5 | data5 = Data 5 | header6 = Main 6 }} <source lang="sass" style="overflow:auto"> {{Infobox | headerstyle = background-color:#eee; | labelstyle = background-color:#eee; | header1 = Main 1 | header2 = Main 2 | data3 = {{Infobox | subbox = yes | headerstyle = background-color:#ccc; | labelstyle = background-color:#ddd; | header1 = Sub 3-1 | header2 = Sub 3-2 | label3 = Label 3-3 | data3 = Data 3-3 }} | data4 = {{Infobox | subbox = yes | labelstyle = background-color:#ccc; | label1 = Label 4-1 | data1 = Data 4-1 }} | label5 = Label 5 | data5 = Data 5 | header6 = Main 6 }} </source>{{clear}} Note that the default padding of the parent data cell containing each subbox is still visible, so the subboxes are slightly narrower than the parent box and there's a higher vertical spacing between standard cells of the parent box than between cells of distinct subboxes. == Full blank syntax == (Note: there is no limit to the number of possible rows; only 20 are given below since infoboxes larger than that will be relatively rare. Just extend the numbering as needed. The microformat "class" parameters are also omitted as they are not commonly used.) <pre style="overflow:auto"> {{Infobox | name = {{subst:PAGENAME}} | child = {{{child|}}} | subbox = {{{subbox|}}} | bodystyle = | titlestyle = | abovestyle = | subheaderstyle = | title = | above = | subheader = | imagestyle = | captionstyle = | image = | caption = | image2 = | caption2 = | headerstyle = | labelstyle = | datastyle = | header1 = | label1 = | data1 = | header2 = | label2 = | data2 = | header3 = | label3 = | data3 = | header4 = | label4 = | data4 = | header5 = | label5 = | data5 = | header6 = | label6 = | data6 = | header7 = | label7 = | data7 = | header8 = | label8 = | data8 = | header9 = | label9 = | data9 = | header10 = | label10 = | data10 = | header11 = | label11 = | data11 = | header12 = | label12 = | data12 = | header13 = | label13 = | data13 = | header14 = | label14 = | data14 = | header15 = | label15 = | data15 = | header16 = | label16 = | data16 = | header17 = | label17 = | data17 = | header18 = | label18 = | data18 = | header19 = | label19 = | data19 = | header20 = | label20 = | data20 = | belowstyle = | below = }} </pre>{{clear}} ==See also== * [[Module:Infobox]], the [[mw:Lua/Overview|Lua]] module on which this template is based <includeonly> [[Category:Infobox templates]] </includeonly> eb1fea6d99bc40271996b7b2fa14e1c5813f2025 MediaWiki:Common.css 8 13 16 2024-04-11T22:47:58Z Heatyeet 2 Created page with "/* CSS placed here will be applied to all skins */ /* Default style for navigation boxes */ .navbox { /* Navbox container style */ box-sizing: border-box; border: 1px solid #a2a9b1; width: 100%; clear: both; font-size: 88%; text-align: center; padding: 1px; margin: 1em auto 0; /* Prevent preceding content from clinging to navboxes */ } .navbox .navbox { margin-top: 0; /* No top margin for nested navboxes */ } .navbox + .navbo..." css text/css /* CSS placed here will be applied to all skins */ /* Default style for navigation boxes */ .navbox { /* Navbox container style */ box-sizing: border-box; border: 1px solid #a2a9b1; width: 100%; clear: both; font-size: 88%; text-align: center; padding: 1px; margin: 1em auto 0; /* Prevent preceding content from clinging to navboxes */ } .navbox .navbox { margin-top: 0; /* No top margin for nested navboxes */ } .navbox + .navbox { margin-top: -1px; /* Single pixel border between adjacent navboxes */ } .navbox-inner, .navbox-subgroup { width: 100%; } .navbox-group, .navbox-title, .navbox-abovebelow { padding: 0.25em 1em; /* Title, group and above/below styles */ line-height: 1.5em; text-align: center; } th.navbox-group { /* Group style */ white-space: nowrap; /* @noflip */ text-align: right; } .navbox, .navbox-subgroup { background-color: #fdfdfd; /* Background color */ } .navbox-list { line-height: 1.5em; border-color: #fdfdfd; /* Must match background color */ } /* cell spacing for navbox cells */ tr + tr > .navbox-abovebelow, tr + tr > .navbox-group, tr + tr > .navbox-image, tr + tr > .navbox-list { /* Borders above 2nd, 3rd, etc. rows */ border-top: 2px solid #fdfdfd; /* Must match background color */ } .navbox th, .navbox-title { background-color: #ccccff; /* Level 1 color */ } .navbox-abovebelow, th.navbox-group, .navbox-subgroup .navbox-title { background-color: #ddddff; /* Level 2 color */ } .navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow { background-color: #e6e6ff; /* Level 3 color */ } .navbox-even { background-color: #f7f7f7; /* Even row striping */ } .navbox-odd { background-color: transparent; /* Odd row striping */ } .navbox .hlist td dl, .navbox .hlist td ol, .navbox .hlist td ul, .navbox td.hlist dl, .navbox td.hlist ol, .navbox td.hlist ul { padding: 0.125em 0; /* Adjust hlist padding in navboxes */ } /* Default styling for Navbar template */ .navbar { display: inline; font-size: 88%; font-weight: normal; } .navbar ul { display: inline; white-space: nowrap; } .mw-body-content .navbar ul { line-height: inherit; } .navbar li { word-spacing: -0.125em; } .navbar.mini li abbr[title] { font-variant: small-caps; border-bottom: none; text-decoration: none; cursor: inherit; } /* Navbar styling when nested in infobox and navbox */ .infobox .navbar { font-size: 100%; } .navbox .navbar { display: block; font-size: 100%; } .navbox-title .navbar { /* @noflip */ float: left; /* @noflip */ text-align: left; /* @noflip */ margin-right: 0.5em; } .infobox { border: 1px solid #a2a9b1; border-spacing: 3px; background-color: #f8f9fa; color: black; /* @noflip */ margin: 0.5em 0 0.5em 1em; padding: 0.2em; /* @noflip */ float: right; /* @noflip */ clear: right; font-size: 88%; line-height: 1.5em; } .infobox caption { font-size: 125%; font-weight: bold; padding: 0.2em; text-align: center; } .infobox td, .infobox th { vertical-align: top; /* @noflip */ text-align: left; } .infobox.bordered { border-collapse: collapse; } .infobox.bordered td, .infobox.bordered th { border: 1px solid #a2a9b1; } .infobox.bordered .borderless td, .infobox.bordered .borderless th { border: 0; } .infobox.sisterproject { width: 20em; font-size: 90%; } .infobox.standard-talk { border: 1px solid #c0c090; background-color: #f8eaba; } .infobox.standard-talk.bordered td, .infobox.standard-talk.bordered th { border: 1px solid #c0c090; } /* styles for bordered infobox with merged rows */ .infobox.bordered .mergedtoprow td, .infobox.bordered .mergedtoprow th { border: 0; border-top: 1px solid #a2a9b1; /* @noflip */ border-right: 1px solid #a2a9b1; } .infobox.bordered .mergedrow td, .infobox.bordered .mergedrow th { border: 0; /* @noflip */ border-right: 1px solid #a2a9b1; } /* Styles for geography infoboxes, eg countries, country subdivisions, cities, etc. */ .infobox.geography { border-collapse: collapse; line-height: 1.2em; font-size: 90%; } .infobox.geography td, .infobox.geography th { border-top: 1px solid #a2a9b1; padding: 0.4em 0.6em 0.4em 0.6em; } .infobox.geography .mergedtoprow td, .infobox.geography .mergedtoprow th { border-top: 1px solid #a2a9b1; padding: 0.4em 0.6em 0.2em 0.6em; } .infobox.geography .mergedrow td, .infobox.geography .mergedrow th { border: 0; padding: 0 0.6em 0.2em 0.6em; } .infobox.geography .mergedbottomrow td, .infobox.geography .mergedbottomrow th { border-top: 0; border-bottom: 1px solid #a2a9b1; padding: 0 0.6em 0.4em 0.6em; } .infobox.geography .maptable td, .infobox.geography .maptable th { border: 0; padding: 0; } div.listenlist { background: url("//upload.wikimedia.org/wikipedia/commons/4/47/Sound-icon.svg") no-repeat scroll 0 0 transparent; background-size: 30px; padding-left: 40px; } /* Fix for hieroglyphs specificity issue in infoboxes ([[phab:T43869]]) */ table.mw-hiero-table td { vertical-align: middle; } /* Style rules for media list templates */ /* TemplateStyles */ div.medialist { min-height: 50px; margin: 1em; /* @noflip */ background-position: top left; background-repeat: no-repeat; } div.medialist ul { list-style-type: none; list-style-image: none; margin: 0; } div.medialist ul li { padding-bottom: 0.5em; } div.medialist ul li li { font-size: 91%; padding-bottom: 0; } /* Messagebox templates */ .messagebox { border: 1px solid #a2a9b1; background-color: #f8f9fa; width: 80%; margin: 0 auto 1em auto; padding: .2em; } .messagebox.merge { border: 1px solid #c0b8cc; background-color: #f0e5ff; text-align: center; } .messagebox.cleanup { border: 1px solid #9f9fff; background-color: #efefff; text-align: center; } .messagebox.standard-talk { border: 1px solid #c0c090; background-color: #f8eaba; margin: 4px auto; } /* For old WikiProject banners inside banner shells. */ .mbox-inside .standard-talk, .messagebox.nested-talk { border: 1px solid #c0c090; background-color: #f8eaba; width: 100%; margin: 2px 0; padding: 2px; } .messagebox.small { width: 238px; font-size: 85%; /* @noflip */ float: right; clear: both; /* @noflip */ margin: 0 0 1em 1em; line-height: 1.25em; } .messagebox.small-talk { width: 238px; font-size: 85%; /* @noflip */ float: right; clear: both; /* @noflip */ margin: 0 0 1em 1em; line-height: 1.25em; background-color: #F8EABA; } /* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */ th.mbox-text, td.mbox-text { /* The message body cell(s) */ border: none; /* @noflip */ padding: 0.25em 0.9em; /* 0.9em left/right */ width: 100%; /* Make all mboxes the same width regardless of text length */ } td.mbox-image { /* The left image cell */ border: none; /* @noflip */ padding: 2px 0 2px 0.9em; /* 0.9em left, 0px right */ text-align: center; } td.mbox-imageright { /* The right image cell */ border: none; /* @noflip */ padding: 2px 0.9em 2px 0; /* 0px left, 0.9em right */ text-align: center; } td.mbox-empty-cell { /* An empty narrow cell */ border: none; padding: 0; width: 1px; } /* Article message box styles */ table.ambox { margin: 0 10%; /* 10% = Will not overlap with other elements */ border: 1px solid #a2a9b1; /* @noflip */ border-left: 10px solid #36c; /* Default "notice" blue */ background-color: #fbfbfb; box-sizing: border-box; } table.ambox + table.ambox { /* Single border between stacked boxes. */ margin-top: -1px; } .ambox th.mbox-text, .ambox td.mbox-text { /* The message body cell(s) */ padding: 0.25em 0.5em; /* 0.5em left/right */ } .ambox td.mbox-image { /* The left image cell */ /* @noflip */ padding: 2px 0 2px 0.5em; /* 0.5em left, 0px right */ } .ambox td.mbox-imageright { /* The right image cell */ /* @noflip */ padding: 2px 0.5em 2px 0; /* 0px left, 0.5em right */ } table.ambox-notice { /* @noflip */ border-left: 10px solid #36c; /* Blue */ } table.ambox-speedy { /* @noflip */ border-left: 10px solid #b32424; /* Red */ background-color: #fee7e6; /* Pink */ } table.ambox-delete { /* @noflip */ border-left: 10px solid #b32424; /* Red */ } table.ambox-content { /* @noflip */ border-left: 10px solid #f28500; /* Orange */ } table.ambox-style { /* @noflip */ border-left: 10px solid #fc3; /* Yellow */ } table.ambox-move { /* @noflip */ border-left: 10px solid #9932cc; /* Purple */ } table.ambox-protection { /* @noflip */ border-left: 10px solid #a2a9b1; /* Gray-gold */ } /* Image message box styles */ table.imbox { margin: 4px 10%; border-collapse: collapse; border: 3px solid #36c; /* Default "notice" blue */ background-color: #fbfbfb; box-sizing: border-box; } .imbox .mbox-text .imbox { /* For imboxes inside imbox-text cells. */ margin: 0 -0.5em; /* 0.9 - 0.5 = 0.4em left/right. */ display: block; /* Fix for webkit to force 100% width. */ } .mbox-inside .imbox { /* For imboxes inside other templates. */ margin: 4px; } table.imbox-notice { border: 3px solid #36c; /* Blue */ } table.imbox-speedy { border: 3px solid #b32424; /* Red */ background-color: #fee7e6; /* Pink */ } table.imbox-delete { border: 3px solid #b32424; /* Red */ } table.imbox-content { border: 3px solid #f28500; /* Orange */ } table.imbox-style { border: 3px solid #fc3; /* Yellow */ } table.imbox-move { border: 3px solid #9932cc; /* Purple */ } table.imbox-protection { border: 3px solid #a2a9b1; /* Gray-gold */ } table.imbox-license { border: 3px solid #88a; /* Dark gray */ background-color: #f7f8ff; /* Light gray */ } table.imbox-featured { border: 3px solid #cba135; /* Brown-gold */ } /* Category message box styles */ table.cmbox { margin: 3px 10%; border-collapse: collapse; border: 1px solid #a2a9b1; background-color: #DFE8FF; /* Default "notice" blue */ box-sizing: border-box; } table.cmbox-notice { background-color: #D8E8FF; /* Blue */ } table.cmbox-speedy { margin-top: 4px; margin-bottom: 4px; border: 4px solid #b32424; /* Red */ background-color: #FFDBDB; /* Pink */ } table.cmbox-delete { background-color: #FFDBDB; /* Red */ } table.cmbox-content { background-color: #FFE7CE; /* Orange */ } table.cmbox-style { background-color: #FFF9DB; /* Yellow */ } table.cmbox-move { background-color: #E4D8FF; /* Purple */ } table.cmbox-protection { background-color: #EFEFE1; /* Gray-gold */ } /* Other pages message box styles */ table.ombox { margin: 4px 10%; border-collapse: collapse; border: 1px solid #a2a9b1; /* Default "notice" gray */ background-color: #f8f9fa; box-sizing: border-box; } table.ombox-notice { border: 1px solid #a2a9b1; /* Gray */ } table.ombox-speedy { border: 2px solid #b32424; /* Red */ background-color: #fee7e6; /* Pink */ } table.ombox-delete { border: 2px solid #b32424; /* Red */ } table.ombox-content { border: 1px solid #f28500; /* Orange */ } table.ombox-style { border: 1px solid #fc3; /* Yellow */ } table.ombox-move { border: 1px solid #9932cc; /* Purple */ } table.ombox-protection { border: 2px solid #a2a9b1; /* Gray-gold */ } /* Talk page message box styles */ table.tmbox { margin: 4px 10%; border-collapse: collapse; border: 1px solid #c0c090; /* Default "notice" gray-brown */ background-color: #f8eaba; min-width: 80%; box-sizing: border-box; } .tmbox.mbox-small { min-width: 0; /* reset the min-width of tmbox above */ } .mediawiki .mbox-inside .tmbox { /* For tmboxes inside other templates. The "mediawiki" class ensures that */ margin: 2px 0; /* this declaration overrides other styles (including mbox-small above) */ width: 100%; /* For Safari and Opera */ } .mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when */ line-height: 1.5em; /* also "nested", so reset styles that are */ font-size: 100%; /* set in "mbox-small" above. */ } table.tmbox-speedy { border: 2px solid #b32424; /* Red */ background-color: #fee7e6; /* Pink */ } table.tmbox-delete { border: 2px solid #b32424; /* Red */ } table.tmbox-content { border: 2px solid #f28500; /* Orange */ } table.tmbox-style { border: 2px solid #fc3; /* Yellow */ } table.tmbox-move { border: 2px solid #9932cc; /* Purple */ } table.tmbox-protection, table.tmbox-notice { border: 1px solid #c0c090; /* Gray-brown */ } /* Disambig and set index box styles */ table.dmbox { clear: both; margin: 0.9em 1em; border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; background-color: transparent; } /* Footer and header message box styles */ table.fmbox { clear: both; margin: 0.2em 0; width: 100%; border: 1px solid #a2a9b1; background-color: #f8f9fa; /* Default "system" gray */ box-sizing: border-box; } table.fmbox-system { background-color: #f8f9fa; } table.fmbox-warning { border: 1px solid #bb7070; /* Dark pink */ background-color: #ffdbdb; /* Pink */ } table.fmbox-editnotice { background-color: transparent; } /* Div based "warning" style fmbox messages. */ div.mw-warning-with-logexcerpt, div.mw-lag-warn-high, div.mw-cascadeprotectedwarning, div#mw-protect-cascadeon, div.titleblacklist-warning, div.locked-warning { clear: both; margin: 0.2em 0; border: 1px solid #bb7070; background-color: #ffdbdb; padding: 0.25em 0.9em; box-sizing: border-box; } /* These mbox-small classes must be placed after all other ambox/tmbox/ombox etc classes. "html body.mediawiki" is so they override "table.ambox + table.ambox" above. */ html body.mediawiki .mbox-small { /* For the "small=yes" option. */ /* @noflip */ clear: right; /* @noflip */ float: right; /* @noflip */ margin: 4px 0 4px 1em; box-sizing: border-box; width: 238px; font-size: 88%; line-height: 1.25em; } html body.mediawiki .mbox-small-left { /* For the "small=left" option. */ /* @noflip */ margin: 4px 1em 4px 0; box-sizing: border-box; overflow: hidden; width: 238px; border-collapse: collapse; font-size: 88%; line-height: 1.25em; } /* Style for compact ambox */ /* Hide the images */ .compact-ambox table .mbox-image, .compact-ambox table .mbox-imageright, .compact-ambox table .mbox-empty-cell { display: none; } /* Remove borders, backgrounds, padding, etc. */ .compact-ambox table.ambox { border: none; border-collapse: collapse; background-color: transparent; margin: 0 0 0 1.6em !important; padding: 0 !important; width: auto; display: block; } body.mediawiki .compact-ambox table.mbox-small-left { font-size: 100%; width: auto; margin: 0; } /* Style the text cell as a list item and remove its padding */ .compact-ambox table .mbox-text { padding: 0 !important; margin: 0 !important; } .compact-ambox table .mbox-text-span { display: list-item; line-height: 1.5em; list-style-type: square; list-style-image: url(/w/skins/MonoBook/resources/images/bullet.gif); } .skin-vector .compact-ambox table .mbox-text-span { list-style-type: disc; list-style-image: url(/w/skins/Vector/images/bullet-icon.svg); list-style-image: url(/w/skins/Vector/images/bullet-icon.png)\9; } /* Allow for hiding text in compact form */ .compact-ambox .hide-when-compact { display: none; } /* For template documentation */ /* TemplateStyles */ .template-documentation { clear: both; margin: 1em 0 0 0; border: 1px solid #a2a9b1; background-color: #ecfcf4; padding: 1em; } cdf8fc1f828ece6b839e28dd20a8e8eaf7150aa0 17 16 2024-04-11T22:49:48Z Heatyeet 2 css text/css /* CSS placed here will be applied to all skins */ /* Default style for navigation boxes */ .navbox { /* Navbox container style */ box-sizing: border-box; border: 1px solid #a2a9b1; width: 100%; clear: both; font-size: 88%; text-align: center; padding: 1px; margin: 1em auto 0; /* Prevent preceding content from clinging to navboxes */ } .navbox .navbox { margin-top: 0; /* No top margin for nested navboxes */ } .navbox + .navbox { margin-top: -1px; /* Single pixel border between adjacent navboxes */ } .navbox-inner, .navbox-subgroup { width: 100%; } .navbox-group, .navbox-title, .navbox-abovebelow { padding: 0.25em 1em; /* Title, group and above/below styles */ line-height: 1.5em; text-align: center; } th.navbox-group { /* Group style */ white-space: nowrap; /* @noflip */ text-align: right; } .navbox, .navbox-subgroup { background-color: #fdfdfd; /* Background color */ } .navbox-list { line-height: 1.5em; border-color: #fdfdfd; /* Must match background color */ } /* cell spacing for navbox cells */ tr + tr > .navbox-abovebelow, tr + tr > .navbox-group, tr + tr > .navbox-image, tr + tr > .navbox-list { /* Borders above 2nd, 3rd, etc. rows */ border-top: 2px solid #fdfdfd; /* Must match background color */ } .navbox th, .navbox-title { background-color: #ccccff; /* Level 1 color */ } .navbox-abovebelow, th.navbox-group, .navbox-subgroup .navbox-title { background-color: #ddddff; /* Level 2 color */ } .navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow { background-color: #e6e6ff; /* Level 3 color */ } .navbox-even { background-color: #f7f7f7; /* Even row striping */ } .navbox-odd { background-color: transparent; /* Odd row striping */ } .navbox .hlist td dl, .navbox .hlist td ol, .navbox .hlist td ul, .navbox td.hlist dl, .navbox td.hlist ol, .navbox td.hlist ul { padding: 0.125em 0; /* Adjust hlist padding in navboxes */ } /* Default styling for Navbar template */ .navbar { display: inline; font-size: 88%; font-weight: normal; } .navbar ul { display: inline; white-space: nowrap; } .mw-body-content .navbar ul { line-height: inherit; } .navbar li { word-spacing: -0.125em; } .navbar.mini li abbr[title] { font-variant: small-caps; border-bottom: none; text-decoration: none; cursor: inherit; } /* Navbar styling when nested in infobox and navbox */ .infobox .navbar { font-size: 100%; } .navbox .navbar { display: block; font-size: 100%; } .navbox-title .navbar { /* @noflip */ float: left; /* @noflip */ text-align: left; /* @noflip */ margin-right: 0.5em; } .infobox { border: 1px solid #a2a9b1; border-spacing: 3px; background-color: #f8f9fa; color: black; /* @noflip */ margin: 0.5em 0 0.5em 1em; padding: 0.2em; /* @noflip */ float: right; /* @noflip */ clear: right; font-size: 88%; line-height: 1.5em; } .infobox caption { font-size: 125%; font-weight: bold; padding: 0.2em; text-align: center; } .infobox td, .infobox th { vertical-align: top; /* @noflip */ text-align: left; } .infobox.bordered { border-collapse: collapse; } .infobox.bordered td, .infobox.bordered th { border: 1px solid #a2a9b1; } .infobox.bordered .borderless td, .infobox.bordered .borderless th { border: 0; } .infobox.sisterproject { width: 20em; font-size: 90%; } .infobox.standard-talk { border: 1px solid #c0c090; background-color: #f8eaba; } .infobox.standard-talk.bordered td, .infobox.standard-talk.bordered th { border: 1px solid #c0c090; } /* styles for bordered infobox with merged rows */ .infobox.bordered .mergedtoprow td, .infobox.bordered .mergedtoprow th { border: 0; border-top: 1px solid #a2a9b1; /* @noflip */ border-right: 1px solid #a2a9b1; } .infobox.bordered .mergedrow td, .infobox.bordered .mergedrow th { border: 0; /* @noflip */ border-right: 1px solid #a2a9b1; } /* Styles for geography infoboxes, eg countries, country subdivisions, cities, etc. */ .infobox.geography { border-collapse: collapse; line-height: 1.2em; font-size: 90%; } .infobox.geography td, .infobox.geography th { border-top: 1px solid #a2a9b1; padding: 0.4em 0.6em 0.4em 0.6em; } .infobox.geography .mergedtoprow td, .infobox.geography .mergedtoprow th { border-top: 1px solid #a2a9b1; padding: 0.4em 0.6em 0.2em 0.6em; } .infobox.geography .mergedrow td, .infobox.geography .mergedrow th { border: 0; padding: 0 0.6em 0.2em 0.6em; } .infobox.geography .mergedbottomrow td, .infobox.geography .mergedbottomrow th { border-top: 0; border-bottom: 1px solid #a2a9b1; padding: 0 0.6em 0.4em 0.6em; } .infobox.geography .maptable td, .infobox.geography .maptable th { border: 0; padding: 0; } div.listenlist { background: url("//upload.wikimedia.org/wikipedia/commons/4/47/Sound-icon.svg") no-repeat scroll 0 0 transparent; background-size: 30px; padding-left: 40px; } /* Fix for hieroglyphs specificity issue in infoboxes ([[phab:T43869]]) */ table.mw-hiero-table td { vertical-align: middle; } /* Style rules for media list templates */ /* TemplateStyles */ div.medialist { min-height: 50px; margin: 1em; /* @noflip */ background-position: top left; background-repeat: no-repeat; } div.medialist ul { list-style-type: none; list-style-image: none; margin: 0; } div.medialist ul li { padding-bottom: 0.5em; } div.medialist ul li li { font-size: 91%; padding-bottom: 0; } /* Messagebox templates */ .messagebox { border: 1px solid #a2a9b1; background-color: #f8f9fa; width: 80%; margin: 0 auto 1em auto; padding: .2em; } .messagebox.merge { border: 1px solid #c0b8cc; background-color: #f0e5ff; text-align: center; } .messagebox.cleanup { border: 1px solid #9f9fff; background-color: #efefff; text-align: center; } .messagebox.standard-talk { border: 1px solid #c0c090; background-color: #f8eaba; margin: 4px auto; } /* For old WikiProject banners inside banner shells. */ .mbox-inside .standard-talk, .messagebox.nested-talk { border: 1px solid #c0c090; background-color: #f8eaba; width: 100%; margin: 2px 0; padding: 2px; } .messagebox.small { width: 238px; font-size: 85%; /* @noflip */ float: right; clear: both; /* @noflip */ margin: 0 0 1em 1em; line-height: 1.25em; } .messagebox.small-talk { width: 238px; font-size: 85%; /* @noflip */ float: right; clear: both; /* @noflip */ margin: 0 0 1em 1em; line-height: 1.25em; background-color: #F8EABA; } /* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */ th.mbox-text, td.mbox-text { /* The message body cell(s) */ border: none; /* @noflip */ padding: 0.25em 0.9em; /* 0.9em left/right */ width: 100%; /* Make all mboxes the same width regardless of text length */ } td.mbox-image { /* The left image cell */ border: none; /* @noflip */ padding: 2px 0 2px 0.9em; /* 0.9em left, 0px right */ text-align: center; } td.mbox-imageright { /* The right image cell */ border: none; /* @noflip */ padding: 2px 0.9em 2px 0; /* 0px left, 0.9em right */ text-align: center; } td.mbox-empty-cell { /* An empty narrow cell */ border: none; padding: 0; width: 1px; } /* Article message box styles */ table.ambox { margin: 0 10%; /* 10% = Will not overlap with other elements */ border: 1px solid #a2a9b1; /* @noflip */ border-left: 10px solid #36c; /* Default "notice" blue */ background-color: #fbfbfb; box-sizing: border-box; } table.ambox + table.ambox { /* Single border between stacked boxes. */ margin-top: -1px; } .ambox th.mbox-text, .ambox td.mbox-text { /* The message body cell(s) */ padding: 0.25em 0.5em; /* 0.5em left/right */ } .ambox td.mbox-image { /* The left image cell */ /* @noflip */ padding: 2px 0 2px 0.5em; /* 0.5em left, 0px right */ } .ambox td.mbox-imageright { /* The right image cell */ /* @noflip */ padding: 2px 0.5em 2px 0; /* 0px left, 0.5em right */ } table.ambox-notice { /* @noflip */ border-left: 10px solid #36c; /* Blue */ } table.ambox-speedy { /* @noflip */ border-left: 10px solid #b32424; /* Red */ background-color: #fee7e6; /* Pink */ } table.ambox-delete { /* @noflip */ border-left: 10px solid #b32424; /* Red */ } table.ambox-content { /* @noflip */ border-left: 10px solid #f28500; /* Orange */ } table.ambox-style { /* @noflip */ border-left: 10px solid #fc3; /* Yellow */ } table.ambox-move { /* @noflip */ border-left: 10px solid #9932cc; /* Purple */ } table.ambox-protection { /* @noflip */ border-left: 10px solid #a2a9b1; /* Gray-gold */ } /* Image message box styles */ table.imbox { margin: 4px 10%; border-collapse: collapse; border: 3px solid #36c; /* Default "notice" blue */ background-color: #fbfbfb; box-sizing: border-box; } .imbox .mbox-text .imbox { /* For imboxes inside imbox-text cells. */ margin: 0 -0.5em; /* 0.9 - 0.5 = 0.4em left/right. */ display: block; /* Fix for webkit to force 100% width. */ } .mbox-inside .imbox { /* For imboxes inside other templates. */ margin: 4px; } table.imbox-notice { border: 3px solid #36c; /* Blue */ } table.imbox-speedy { border: 3px solid #b32424; /* Red */ background-color: #fee7e6; /* Pink */ } table.imbox-delete { border: 3px solid #b32424; /* Red */ } table.imbox-content { border: 3px solid #f28500; /* Orange */ } table.imbox-style { border: 3px solid #fc3; /* Yellow */ } table.imbox-move { border: 3px solid #9932cc; /* Purple */ } table.imbox-protection { border: 3px solid #a2a9b1; /* Gray-gold */ } table.imbox-license { border: 3px solid #88a; /* Dark gray */ background-color: #f7f8ff; /* Light gray */ } table.imbox-featured { border: 3px solid #cba135; /* Brown-gold */ } /* Category message box styles */ table.cmbox { margin: 3px 10%; border-collapse: collapse; border: 1px solid #a2a9b1; background-color: #DFE8FF; /* Default "notice" blue */ box-sizing: border-box; } table.cmbox-notice { background-color: #D8E8FF; /* Blue */ } table.cmbox-speedy { margin-top: 4px; margin-bottom: 4px; border: 4px solid #b32424; /* Red */ background-color: #FFDBDB; /* Pink */ } table.cmbox-delete { background-color: #FFDBDB; /* Red */ } table.cmbox-content { background-color: #FFE7CE; /* Orange */ } table.cmbox-style { background-color: #FFF9DB; /* Yellow */ } table.cmbox-move { background-color: #E4D8FF; /* Purple */ } table.cmbox-protection { background-color: #EFEFE1; /* Gray-gold */ } /* Other pages message box styles */ table.ombox { margin: 4px 10%; border-collapse: collapse; border: 1px solid #a2a9b1; /* Default "notice" gray */ background-color: #f8f9fa; box-sizing: border-box; } table.ombox-notice { border: 1px solid #a2a9b1; /* Gray */ } table.ombox-speedy { border: 2px solid #b32424; /* Red */ background-color: #fee7e6; /* Pink */ } table.ombox-delete { border: 2px solid #b32424; /* Red */ } table.ombox-content { border: 1px solid #f28500; /* Orange */ } table.ombox-style { border: 1px solid #fc3; /* Yellow */ } table.ombox-move { border: 1px solid #9932cc; /* Purple */ } table.ombox-protection { border: 2px solid #a2a9b1; /* Gray-gold */ } /* Talk page message box styles */ table.tmbox { margin: 4px 10%; border-collapse: collapse; border: 1px solid #c0c090; /* Default "notice" gray-brown */ background-color: #f8eaba; min-width: 80%; box-sizing: border-box; } .tmbox.mbox-small { min-width: 0; /* reset the min-width of tmbox above */ } .mediawiki .mbox-inside .tmbox { /* For tmboxes inside other templates. The "mediawiki" class ensures that */ margin: 2px 0; /* this declaration overrides other styles (including mbox-small above) */ width: 100%; /* For Safari and Opera */ } .mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when */ line-height: 1.5em; /* also "nested", so reset styles that are */ font-size: 100%; /* set in "mbox-small" above. */ } table.tmbox-speedy { border: 2px solid #b32424; /* Red */ background-color: #fee7e6; /* Pink */ } table.tmbox-delete { border: 2px solid #b32424; /* Red */ } table.tmbox-content { border: 2px solid #f28500; /* Orange */ } table.tmbox-style { border: 2px solid #fc3; /* Yellow */ } table.tmbox-move { border: 2px solid #9932cc; /* Purple */ } table.tmbox-protection, table.tmbox-notice { border: 1px solid #c0c090; /* Gray-brown */ } /* Disambig and set index box styles */ table.dmbox { clear: both; margin: 0.9em 1em; border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; background-color: transparent; } /* Footer and header message box styles */ table.fmbox { clear: both; margin: 0.2em 0; width: 100%; border: 1px solid #a2a9b1; background-color: #f8f9fa; /* Default "system" gray */ box-sizing: border-box; } table.fmbox-system { background-color: #f8f9fa; } table.fmbox-warning { border: 1px solid #bb7070; /* Dark pink */ background-color: #ffdbdb; /* Pink */ } table.fmbox-editnotice { background-color: transparent; } /* Div based "warning" style fmbox messages. */ div.mw-warning-with-logexcerpt, div.mw-lag-warn-high, div.mw-cascadeprotectedwarning, div#mw-protect-cascadeon, div.titleblacklist-warning, div.locked-warning { clear: both; margin: 0.2em 0; border: 1px solid #bb7070; background-color: #ffdbdb; padding: 0.25em 0.9em; box-sizing: border-box; } /* These mbox-small classes must be placed after all other ambox/tmbox/ombox etc classes. "html body.mediawiki" is so they override "table.ambox + table.ambox" above. */ html body.mediawiki .mbox-small { /* For the "small=yes" option. */ /* @noflip */ clear: right; /* @noflip */ float: right; /* @noflip */ margin: 4px 0 4px 1em; box-sizing: border-box; width: 238px; font-size: 88%; line-height: 1.25em; } html body.mediawiki .mbox-small-left { /* For the "small=left" option. */ /* @noflip */ margin: 4px 1em 4px 0; box-sizing: border-box; overflow: hidden; width: 238px; border-collapse: collapse; font-size: 88%; line-height: 1.25em; } /* Style for compact ambox */ /* Hide the images */ .compact-ambox table .mbox-image, .compact-ambox table .mbox-imageright, .compact-ambox table .mbox-empty-cell { display: none; } /* Remove borders, backgrounds, padding, etc. */ .compact-ambox table.ambox { border: none; border-collapse: collapse; background-color: transparent; margin: 0 0 0 1.6em !important; padding: 0 !important; width: auto; display: block; } body.mediawiki .compact-ambox table.mbox-small-left { font-size: 100%; width: auto; margin: 0; } /* Style the text cell as a list item and remove its padding */ .compact-ambox table .mbox-text { padding: 0 !important; margin: 0 !important; } .compact-ambox table .mbox-text-span { display: list-item; line-height: 1.5em; list-style-type: square; list-style-image: url(/w/skins/MonoBook/resources/images/bullet.gif); } .skin-vector .compact-ambox table .mbox-text-span { list-style-type: disc; list-style-image: url(/w/skins/Vector/images/bullet-icon.svg); list-style-image: url(/w/skins/Vector/images/bullet-icon.png)\9; } /* Allow for hiding text in compact form */ .compact-ambox .hide-when-compact { display: none; } /* For template documentation */ /* TemplateStyles */ .template-documentation { clear: both; margin: 1em 0 0 0; border: 1px solid #a2a9b1; background-color: #ecfcf4; padding: 1em; } .floatright { margin: 0 0 0.5em 0.5em; clear: right; float: right; } .floatleft { margin: 0 0.5em 0.5em 0; float: left; clear: left; } 2e5972ae2729e8348ddac460dec0e5de028f02f2 Template:Nowrap 10 14 18 2024-04-11T22:52:24Z Rodejong 6 https://en.wikipedia.org/w/index.php?title=Template:Nowrap&oldid=692794261 wikitext text/x-wiki <span class="nowrap">{{{1}}}</span> 1fd9223c42f151cf322d6d13eaa979eda150e9b3 Template:Nobold 10 15 19 2024-04-11T22:53:33Z Rodejong 6 https://en.wikipedia.org/w/index.php?title=Template:Nobold&oldid=865390504 wikitext text/x-wiki <templatestyles src="Nobold/styles.css"/><span class="nobold">{{{1}}}</span> bab154aa537376c5af10f5aec17608b575a86cc3 Template:Nobold/styles.css 10 16 20 2024-04-11T22:54:23Z Rodejong 6 https://en.wikipedia.org/w/index.php?title=Template:Nobold/styles.css&oldid=886047488 wikitext text/x-wiki /* Styling for Template:Nobold */ .nobold { font-weight: normal; } 4f9b62d491b84be267ad55b8a4d6786f8a4e9b63 21 20 2024-04-11T22:54:45Z Rodejong 6 Rodejong changed the content model of the page [[Template:Nobold/styles.css]] from "wikitext" to "CSS": CSS css text/css /* Styling for Template:Nobold */ .nobold { font-weight: normal; } 4f9b62d491b84be267ad55b8a4d6786f8a4e9b63